diff options
author | Denys Vlasenko | 2010-03-05 14:10:54 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-05 14:10:54 +0100 |
commit | 4b1100edd8180efa2e81860ef2fadeebcb21f5fa (patch) | |
tree | 84ae15d899f04dc8fdc16172446eb8e76a834d67 /e2fsprogs/old_e2fsprogs/ext2fs/closefs.c | |
parent | 44fbfa78ca6126d658ff48cef79e2f7d29fae6c8 (diff) | |
download | busybox-4b1100edd8180efa2e81860ef2fadeebcb21f5fa.zip busybox-4b1100edd8180efa2e81860ef2fadeebcb21f5fa.tar.gz |
*: use NULL for null pointers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs/closefs.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/ext2fs/closefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/closefs.c b/e2fsprogs/old_e2fsprogs/ext2fs/closefs.c index 008d5f3..7ba7f22 100644 --- a/e2fsprogs/old_e2fsprogs/ext2fs/closefs.c +++ b/e2fsprogs/old_e2fsprogs/ext2fs/closefs.c @@ -206,8 +206,8 @@ errcode_t ext2fs_flush(ext2_filsys fs) blk_t group_block; errcode_t retval; unsigned long fs_state; - struct ext2_super_block *super_shadow = 0; - struct ext2_group_desc *group_shadow = 0; + struct ext2_super_block *super_shadow = NULL; + struct ext2_group_desc *group_shadow = NULL; char *group_ptr; int old_desc_blocks; #if BB_BIG_ENDIAN |