summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-02-06 02:22:33 +0000
committerTim Potter <tpot@samba.org>2002-02-06 02:22:33 +0000
commit1e94977a9bd6abd7da9d140c39a02ce4d53a7db8 (patch)
tree0566a98df8977cee93066a2011bf6d27673b98fa
parent8d84f070c4611c4e78b3132b7325befab428278b (diff)
downloadsamba-1e94977a9bd6abd7da9d140c39a02ce4d53a7db8.tar.gz
samba-1e94977a9bd6abd7da9d140c39a02ce4d53a7db8.tar.bz2
samba-1e94977a9bd6abd7da9d140c39a02ce4d53a7db8.zip
0x is the traditional prefix for displaying hex numbers.
(This used to be commit f424b691ea76819e90f10919b0506bb2216ecd0e)
-rw-r--r--source3/nsswitch/wbinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 93c73f6095..635af6064f 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -389,7 +389,7 @@ static BOOL wbinfo_auth(char *username)
printf("plaintext password authentication %s\n",
(result == NSS_STATUS_SUCCESS) ? "succeeded" : "failed");
- printf("error code was %s (HEX: %x)\n", response.data.auth.nt_status_string, response.data.auth.nt_status);
+ printf("error code was %s (0x%x)\n", response.data.auth.nt_status_string, response.data.auth.nt_status);
return result == NSS_STATUS_SUCCESS;
}
@@ -441,7 +441,7 @@ static BOOL wbinfo_auth_crap(char *username)
printf("challenge/response password authentication %s\n",
(result == NSS_STATUS_SUCCESS) ? "succeeded" : "failed");
- printf("error code was %s (HEX: %x)\n",
+ printf("error code was %s (0x%x)\n",
response.data.auth.nt_status_string,
response.data.auth.nt_status);