1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3: Replace a use of cli_errstr

This commit is contained in:
Volker Lendecke 2011-03-27 17:37:24 +02:00
parent ffef3aa809
commit c83ce65ad0

View File

@ -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));