diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-27 17:37:24 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-27 19:04:11 +0200 |
commit | c83ce65ad099270c1edd119bb3d313a4638a0488 (patch) | |
tree | f0a8155318575eac1ad98c5b40bdf4c13d431221 /source3/torture | |
parent | ffef3aa809eac020efd316c1922c50538d271a4f (diff) | |
download | samba-c83ce65ad099270c1edd119bb3d313a4638a0488.tar.gz samba-c83ce65ad099270c1edd119bb3d313a4638a0488.tar.bz2 samba-c83ce65ad099270c1edd119bb3d313a4638a0488.zip |
s3: Replace a use of cli_errstr
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index fcd0e5726d..1b6ab9bb8b 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -1390,7 +1390,7 @@ static bool run_tcon2_test(int dummy) status = cli_raw_tcon(cli, service, password, "?????", &max_xmit, &cnum); if (!NT_STATUS_IS_OK(status)) { - printf("tcon2 failed : %s\n", cli_errstr(cli)); + printf("tcon2 failed : %s\n", nt_errstr(status)); } else { printf("tcon OK : max_xmit=%d cnum=%d tid=%d\n", (int)max_xmit, (int)cnum, SVAL(cli->inbuf, smb_tid)); |