From 5cc279eb34d60ae11e42fe7ff266720a76a7d5a6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Jul 2011 02:13:23 +0200 Subject: [PATCH] s3:clitar: avoid usage of cli_errstr() metze --- source3/client/clitar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/client/clitar.c b/source3/client/clitar.c index 4dc202e17ea..a5de8ebafe5 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -696,8 +696,9 @@ static NTSTATUS do_atar(const char *rname_in, char *lname, datalen = cli_read(cli, fnum, data, nread, read_size); if (datalen == -1) { - DEBUG(0,("Error reading file %s : %s\n", rname, cli_errstr(cli))); status = cli_nt_error(cli); + DEBUG(0,("Error reading file %s : %s\n", + rname, nt_errstr(status))); break; } -- 2.11.4.GIT