From c17a056f3841b2ebc024f5af7ed2c58279641d4b Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 14 Aug 2013 16:16:45 -0700 Subject: 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 Signed-off-by: David Sterba Signed-off-by: Chris Mason --- cmds-filesystem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmds-filesystem.c') diff --git a/cmds-filesystem.c b/cmds-filesystem.c index a4e30ea5..ca0855bd 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -231,7 +231,7 @@ static int cmd_show(int argc, char **argv) struct list_head *all_uuids; struct btrfs_fs_devices *fs_devices; struct list_head *cur_uuid; - char *search = 0; + char *search = NULL; int ret; int where = BTRFS_SCAN_PROC; int searchstart = 1; @@ -512,7 +512,7 @@ const struct cmd_group filesystem_cmd_group = { { "balance", cmd_balance, NULL, &balance_cmd_group, 1 }, { "resize", cmd_resize, cmd_resize_usage, NULL, 0 }, { "label", cmd_label, cmd_label_usage, NULL, 0 }, - { 0, 0, 0, 0, 0 }, + NULL_CMD_STRUCT } }; -- cgit v1.2.3