summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-07 16:56:05 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-07 19:16:28 +0200
commit98e0f9d1edb77f07f2f733478e91d0410c020b2e (patch)
treec3fbcafabc06b95b4b317b4928a8ba6c8b2fe066
parent684095b0a2e24869b684cc12b92ed7847caf0021 (diff)
downloadsamba-98e0f9d1edb77f07f2f733478e91d0410c020b2e.tar.gz
samba-98e0f9d1edb77f07f2f733478e91d0410c020b2e.tar.bz2
samba-98e0f9d1edb77f07f2f733478e91d0410c020b2e.zip
s3-torture: run_shortname_test: Remove uses of cli_errstr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/torture/torture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 22beb7390b..4a01bf2a9c 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -7198,11 +7198,11 @@ static bool run_shortname_test(int dummy)
cli_close(cli, fnum);
s.matched = 0;
- cli_list(cli, "\\shortname\\test*.*", 0, shortname_list_fn,
- &s);
+ status = cli_list(cli, "\\shortname\\test*.*", 0,
+ shortname_list_fn, &s);
if (s.matched != 1) {
d_printf("(%s) failed to list %s: %s\n",
- __location__, fname, cli_errstr(cli));
+ __location__, fname, nt_errstr(status));
correct = false;
goto out;
}