diff options
author | Tim Potter <tpot@samba.org> | 2002-02-06 02:22:33 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-02-06 02:22:33 +0000 |
commit | f424b691ea76819e90f10919b0506bb2216ecd0e (patch) | |
tree | f38d118cd9c9c818e0a290642408475f0a746ed7 /source | |
parent | a9316754c7ef6244e69bec25ca20dad0019f77e1 (diff) | |
download | samba-f424b691ea76819e90f10919b0506bb2216ecd0e.tar.gz samba-f424b691ea76819e90f10919b0506bb2216ecd0e.tar.xz samba-f424b691ea76819e90f10919b0506bb2216ecd0e.zip |
0x is the traditional prefix for displaying hex numbers.
Diffstat (limited to 'source')
-rw-r--r-- | source/nsswitch/wbinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c index 93c73f6095b..635af6064f5 100644 --- a/source/nsswitch/wbinfo.c +++ b/source/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); |