From 98e0f9d1edb77f07f2f733478e91d0410c020b2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Baumbach?= Date: Thu, 7 Jul 2011 16:56:05 +0200 Subject: [PATCH] s3-torture: run_shortname_test: Remove uses of cli_errstr() Signed-off-by: Stefan Metzmacher --- source3/torture/torture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 22beb7390b7..4a01bf2a9c4 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; } -- 2.11.4.GIT