diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-08 02:13:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-08 14:09:07 +0200 |
commit | 5cc279eb34d60ae11e42fe7ff266720a76a7d5a6 (patch) | |
tree | c236c83f06fc5f809d23cc0a19ebe4c0246df4a1 /source3/client/clitar.c | |
parent | 06247a7a094b30229fda26844526c5217ba6fe0c (diff) | |
download | samba-5cc279eb34d60ae11e42fe7ff266720a76a7d5a6.tar.gz samba-5cc279eb34d60ae11e42fe7ff266720a76a7d5a6.tar.bz2 samba-5cc279eb34d60ae11e42fe7ff266720a76a7d5a6.zip |
s3:clitar: avoid usage of cli_errstr()
metze
Diffstat (limited to 'source3/client/clitar.c')
-rw-r--r-- | source3/client/clitar.c | 3 |
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; } |