From 1e94977a9bd6abd7da9d140c39a02ce4d53a7db8 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 6 Feb 2002 02:22:33 +0000 Subject: 0x is the traditional prefix for displaying hex numbers. (This used to be commit f424b691ea76819e90f10919b0506bb2216ecd0e) --- source3/nsswitch/wbinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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); -- cgit