summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/clitar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 4dc202e17e..a5de8ebafe 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;
}