Put an 0x in front of a hex number.
authorTim Potter <tpot@samba.org>
Tue, 26 Jun 2001 06:26:05 +0000 (06:26 +0000)
committerTim Potter <tpot@samba.org>
Tue, 26 Jun 2001 06:26:05 +0000 (06:26 +0000)
(This used to be commit a48d480ce986ff1c00f2c17f30f23723ce0bb044)

source3/libsmb/nterr.c

index 17bb825219f92283a55911e16eb6a9abea4d9cff..36dd65cda2116b407d36024f48360f5558086f63 100644 (file)
@@ -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)
        {