summaryrefslogtreecommitdiff
path: root/cmds-quota.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-08-14 16:16:45 -0700
committerDavid Sterba <dsterba@suse.cz>2013-09-03 19:41:11 +0200
commitc17a056f3841b2ebc024f5af7ed2c58279641d4b (patch)
tree3fdd5851d2a6ffbe66cf5131d39eda0d4f7c5d4a /cmds-quota.c
parent0173e6eb83dd120cf6d5063ef4fb5eef5c7eef4c (diff)
btrfs-progs: use NULL instead of 0
These were mostly in option structs but there were a few gross string pointer arguments given as 0. Signed-off-by: Zach Brown <zab@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-quota.c')
-rw-r--r--cmds-quota.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-quota.c b/cmds-quota.c
index 3bdd5f61..94e3a5c7 100644
--- a/cmds-quota.c
+++ b/cmds-quota.c
@@ -179,9 +179,10 @@ static int cmd_quota_rescan(int argc, char **argv)
const struct cmd_group quota_cmd_group = {
quota_cmd_group_usage, NULL, {
{ "enable", cmd_quota_enable, cmd_quota_enable_usage, NULL, 0 },
- { "disable", cmd_quota_disable, cmd_quota_disable_usage, 0, 0 },
+ { "disable", cmd_quota_disable, cmd_quota_disable_usage,
+ NULL, 0 },
{ "rescan", cmd_quota_rescan, cmd_quota_rescan_usage, NULL, 0 },
- { 0, 0, 0, 0, 0 }
+ NULL_CMD_STRUCT
}
};