diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-05 14:10:54 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-05 14:10:54 +0100 |
commit | 4b1100edd8180efa2e81860ef2fadeebcb21f5fa (patch) | |
tree | 84ae15d899f04dc8fdc16172446eb8e76a834d67 /e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c | |
parent | 44fbfa78ca6126d658ff48cef79e2f7d29fae6c8 (diff) |
*: use NULL for null pointers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c b/e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c index b63c5d7a6..93f47b06f 100644 --- a/e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c +++ b/e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c @@ -39,7 +39,7 @@ errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum, ext2_ino_t ino = inum; ext2_ino_t scratch_ino; blk_t blk; - char *block = 0; + char *block = NULL; EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); |