diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-06 13:57:20 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-06 17:18:13 +0200 |
commit | 2b0cc3c412d2cad5e35728f86cc66109f5dc4676 (patch) | |
tree | 88339664c05634430542dfde45802de0de4a9aac /source3/client | |
parent | 27736bed83191ccad69e5ad7732cc8ed60c5864f (diff) | |
download | samba-2b0cc3c412d2cad5e35728f86cc66109f5dc4676.tar.gz samba-2b0cc3c412d2cad5e35728f86cc66109f5dc4676.tar.bz2 samba-2b0cc3c412d2cad5e35728f86cc66109f5dc4676.zip |
s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()
metze
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index e2efad82d8..aa26d99eff 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3767,12 +3767,13 @@ static int cmd_rename(void) static int cmd_volume(void) { - fstring volname; - uint32 serial_num; + char *volname; + uint32_t serial_num; time_t create_date; NTSTATUS status; - status = cli_get_fs_volume_info(cli, volname, &serial_num, + status = cli_get_fs_volume_info(cli, talloc_tos(), + &volname, &serial_num, &create_date); if (!NT_STATUS_IS_OK(status)) { d_printf("Error %s getting volume info\n", nt_errstr(status)); |