summaryrefslogtreecommitdiff
path: root/source3/utils/smbcquotas.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-21 13:46:52 +0100
committerVolker Lendecke <vl@samba.org>2009-11-21 14:01:56 +0100
commit37e4e387db869600b68d28d4d7b5290fe8b110ae (patch)
tree3770d817f87e7c9d7ec3dbce71d1a43a131b6884 /source3/utils/smbcquotas.c
parent5a1606269aeeeb1b777974d88c33df543d1b6f4d (diff)
downloadsamba-37e4e387db869600b68d28d4d7b5290fe8b110ae.tar.gz
samba-37e4e387db869600b68d28d4d7b5290fe8b110ae.tar.bz2
samba-37e4e387db869600b68d28d4d7b5290fe8b110ae.zip
s3: Convert cli_get_fs_attr_info to the async API
Diffstat (limited to 'source3/utils/smbcquotas.c')
-rw-r--r--source3/utils/smbcquotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
index a0eed65be3..ef67ad77b4 100644
--- a/source3/utils/smbcquotas.c
+++ b/source3/utils/smbcquotas.c
@@ -235,7 +235,7 @@ static int do_quota(struct cli_state *cli,
SMB_NTQUOTA_STRUCT qt;
ZERO_STRUCT(qt);
- if (!cli_get_fs_attr_info(cli, &fs_attrs)) {
+ if (!NT_STATUS_IS_OK(cli_get_fs_attr_info(cli, &fs_attrs))) {
d_printf("Failed to get the filesystem attributes %s.\n",
cli_errstr(cli));
return -1;