diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-07 12:08:39 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-07 12:29:25 +0100 |
commit | 6e510b49c03be9caba4f587f3f6cec547841b0d7 (patch) | |
tree | 2f8e6dda074a0e30e0fcb2dbb55ff11cdbf750e8 /source3/client | |
parent | c73ffb728099e453110ffeb0e665811b9fcec34d (diff) | |
download | samba-6e510b49c03be9caba4f587f3f6cec547841b0d7.tar.gz samba-6e510b49c03be9caba4f587f3f6cec547841b0d7.tar.xz samba-6e510b49c03be9caba4f587f3f6cec547841b0d7.zip |
s3: Make cli_get_fs_volume_info() use cli_trans()
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f177129dc78..1ceb3ab6396 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3376,9 +3376,12 @@ static int cmd_volume(void) fstring volname; uint32 serial_num; time_t create_date; + NTSTATUS status; - if (!cli_get_fs_volume_info(cli, volname, &serial_num, &create_date)) { - d_printf("Errr %s getting volume info\n",cli_errstr(cli)); + status = cli_get_fs_volume_info(cli, volname, &serial_num, + &create_date); + if (!NT_STATUS_IS_OK(status)) { + d_printf("Error %s getting volume info\n", nt_errstr(status)); return 1; } |