From: Tim Potter Date: Tue, 26 Jun 2001 06:26:05 +0000 (+0000) Subject: Put an 0x in front of a hex number. X-Git-Tag: samba-2.2.5pre1~1910^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a48d480ce986ff1c00f2c17f30f23723ce0bb044;p=thirdparty%2Fsamba.git Put an 0x in front of a hex number. --- diff --git a/source/libsmb/nterr.c b/source/libsmb/nterr.c index 17bb825219f..36dd65cda21 100644 --- a/source/libsmb/nterr.c +++ b/source/libsmb/nterr.c @@ -523,7 +523,7 @@ BOOL get_safe_nt_error_msg(uint32 nt_code,char *msg, size_t len) { int idx = 0; - slprintf(msg, len-1, "NT code %08x", nt_code); + slprintf(msg, len-1, "NT code 0x%08x", nt_code); while (nt_errs[idx].nt_errstr != NULL) {