git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffef3aa
)
s3: Replace a use of cli_errstr
author
Volker Lendecke
<vl@samba.org>
Sun, 27 Mar 2011 15:37:24 +0000
(17:37 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 27 Mar 2011 17:04:11 +0000
(19:04 +0200)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index fcd0e5726d25ab92b9cd119450fde3f9fd0f83f8..1b6ab9bb8b14d3ef17b1f1db9488659de4e87695 100644
(file)
--- 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));