summaryrefslogtreecommitdiff
path: root/source3/libsmb/nterr.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-06-26 06:26:05 +0000
committerTim Potter <tpot@samba.org>2001-06-26 06:26:05 +0000
commit0c563186fb143e047180e3c296ea024e49f948b8 (patch)
tree566cc7c59c4ac63cf8c46db00d8fbeaa4bcf7004 /source3/libsmb/nterr.c
parent742609a21d4354d12ffee275acccd854e29520bd (diff)
downloadsamba-0c563186fb143e047180e3c296ea024e49f948b8.tar.gz
samba-0c563186fb143e047180e3c296ea024e49f948b8.tar.bz2
samba-0c563186fb143e047180e3c296ea024e49f948b8.zip
Put an 0x in front of a hex number.
(This used to be commit a48d480ce986ff1c00f2c17f30f23723ce0bb044)
Diffstat (limited to 'source3/libsmb/nterr.c')
-rw-r--r--source3/libsmb/nterr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index 17bb825219..36dd65cda2 100644
--- a/source3/libsmb/nterr.c
+++ b/source3/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)
{