diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-21 18:16:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-09-21 18:16:16 +0000 |
commit | 88cdc8cedd556c840c55c850c7a441c7eeaa5178 (patch) | |
tree | f1ae1efb58b27c751cdcbe16ab6e5e380999ddb8 /source/librpc | |
parent | bbf4c32bfd95feb5b1488dc2ed5f877c67cd326a (diff) | |
download | samba-88cdc8cedd556c840c55c850c7a441c7eeaa5178.tar.gz samba-88cdc8cedd556c840c55c850c7a441c7eeaa5178.tar.xz samba-88cdc8cedd556c840c55c850c7a441c7eeaa5178.zip |
r18791: print the error string and not the raw value
Diffstat (limited to 'source/librpc')
-rw-r--r-- | source/librpc/ndr/ndr_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/librpc/ndr/ndr_basic.c b/source/librpc/ndr/ndr_basic.c index af006f2e91c..5e75fa1092e 100644 --- a/source/librpc/ndr/ndr_basic.c +++ b/source/librpc/ndr/ndr_basic.c @@ -250,7 +250,7 @@ NTSTATUS ndr_push_WERROR(struct ndr_push *ndr, int ndr_flags, WERROR status) void ndr_print_WERROR(struct ndr_print *ndr, const char *name, WERROR r) { - ndr->print(ndr, "%-25s: %d", name, W_ERROR_V(r)); + ndr->print(ndr, "%-25s: %s", name, dos_errstr(r)); } /* |