diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-01-12 15:16:43 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-01-22 20:59:36 +0100 |
commit | 8ec92e50736053a5f4104888e3ad54cdb3e3f54b (patch) | |
tree | 9ab51c3656d286cb42a7ee7cef7f7dc879c034c9 /source3/client | |
parent | c3aaf6492f40319db84124617002362fd6d0f890 (diff) | |
download | samba-8ec92e50736053a5f4104888e3ad54cdb3e3f54b.tar.gz |
smbspool: Add string representation of nt_status
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jan 22 20:59:36 CET 2016 on sn-devel-144
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/smbspool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 7161e86468e..e3818228500 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -346,8 +346,8 @@ get_exit_code(struct cli_state * cli, }; - fprintf(stderr, "DEBUG: get_exit_code(cli=%p, nt_status=%x)\n", - cli, NT_STATUS_V(nt_status)); + fprintf(stderr, "DEBUG: get_exit_code(cli=%p, nt_status=%s [%x])\n", + cli, nt_errstr(nt_status), NT_STATUS_V(nt_status)); for (i = 0; i < ARRAY_SIZE(auth_errors); i++) { if (!NT_STATUS_EQUAL(nt_status, auth_errors[i])) { |