From 82f12507a45fc4496d89490fb50787125fd13fa5 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 21 Sep 2006 18:16:16 +0000 Subject: r18791: print the error string and not the raw value (This used to be commit 23639546371ef4e2a0354f720f1be17d8a4edd5b) --- source3/librpc/ndr/ndr_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc') 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)); } /* -- cgit