Author: jerry Date: 2006-09-21 18:16:16 +0000 (Thu, 21 Sep 2006) New Revision: 18791
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18791 Log: print the error string and not the raw value Modified: branches/SAMBA_3_0/source/librpc/ndr/ndr_basic.c Changeset: Modified: branches/SAMBA_3_0/source/librpc/ndr/ndr_basic.c =================================================================== --- branches/SAMBA_3_0/source/librpc/ndr/ndr_basic.c 2006-09-21 18:09:20 UTC (rev 18790) +++ branches/SAMBA_3_0/source/librpc/ndr/ndr_basic.c 2006-09-21 18:16:16 UTC (rev 18791) @@ -250,7 +250,7 @@ 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)); } /*