diff options
author | Zach Brown <zab@redhat.com> | 2013-08-14 16:16:45 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-09-03 19:41:11 +0200 |
commit | c17a056f3841b2ebc024f5af7ed2c58279641d4b (patch) | |
tree | 3fdd5851d2a6ffbe66cf5131d39eda0d4f7c5d4a /btrfs-map-logical.c | |
parent | 0173e6eb83dd120cf6d5063ef4fb5eef5c7eef4c (diff) | |
download | btrfs-progs-c17a056f3841b2ebc024f5af7ed2c58279641d4b.tar.gz |
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 'btrfs-map-logical.c')
-rw-r--r-- | btrfs-map-logical.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c index ee8407f..ea0a1ba 100644 --- a/btrfs-map-logical.c +++ b/btrfs-map-logical.c @@ -106,7 +106,7 @@ static struct option long_options[] = { { "copy", 1, NULL, 'c' }, { "output", 1, NULL, 'o' }, { "bytes", 1, NULL, 'b' }, - { 0, 0, 0, 0} + { NULL, 0, NULL, 0} }; int main(int ac, char **av) |