diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-21 18:16:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:00:58 -0500 |
commit | 82f12507a45fc4496d89490fb50787125fd13fa5 (patch) | |
tree | 4b49b80f3adf8f5316aba4bd87d8dcd003df0d88 /source3 | |
parent | 8e0217da6f19a75250c27c5abaa000ee4d328267 (diff) | |
download | samba-82f12507a45fc4496d89490fb50787125fd13fa5.tar.gz samba-82f12507a45fc4496d89490fb50787125fd13fa5.tar.bz2 samba-82f12507a45fc4496d89490fb50787125fd13fa5.zip |
r18791: print the error string and not the raw value
(This used to be commit 23639546371ef4e2a0354f720f1be17d8a4edd5b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/ndr/ndr_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/ndr/ndr_basic.c b/source3/librpc/ndr/ndr_basic.c index af006f2e91..5e75fa1092 100644 --- a/source3/librpc/ndr/ndr_basic.c +++ b/source3/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)); } /* |