summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-07 17:36:22 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-07 19:16:28 +0200
commit80c65416c17169e487ce17314bdc9975679ec331 (patch)
treec42a05ca418e0146c5076caab0756b7c79c5cdfe /source3
parent11426758d71e59ffe9804d2ebb2f145b4ed398e1 (diff)
downloadsamba-80c65416c17169e487ce17314bdc9975679ec331.tar.gz
samba-80c65416c17169e487ce17314bdc9975679ec331.tar.bz2
samba-80c65416c17169e487ce17314bdc9975679ec331.zip
s3-client: Remove use of cli_errstr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index aa26d99eff..82dc8c40dd 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -917,8 +917,8 @@ NTSTATUS do_list(const char *mask,
}
TALLOC_FREE(targetpath);
} else {
- d_printf("do_list: [%s] %s\n", mask, cli_errstr(cli));
- ret_status = cli_nt_error(cli);
+ d_printf("do_list: [%s] %s\n", mask, nt_errstr(status));
+ ret_status = status;
}
}