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:
parent
ffef3aa809
commit
c83ce65ad0
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user