commit | 4b1100edd8180efa2e81860ef2fadeebcb21f5fa | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Fri Mar 05 14:10:54 2010 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Fri Mar 05 14:10:54 2010 +0100 |
tree | 84ae15d899f04dc8fdc16172446eb8e76a834d67 | |
parent | 44fbfa78ca6126d658ff48cef79e2f7d29fae6c8 [diff] [blame] |
*: use NULL for null pointers Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/dirblock.c b/e2fsprogs/old_e2fsprogs/ext2fs/dirblock.c index 5d3f6a1..f651338 100644 --- a/e2fsprogs/old_e2fsprogs/ext2fs/dirblock.c +++ b/e2fsprogs/old_e2fsprogs/ext2fs/dirblock.c
@@ -80,7 +80,7 @@ int do_swap = 0; errcode_t retval; char *p, *end; - char *buf = 0; + char *buf = NULL; struct ext2_dir_entry *dirent; if ((fs->flags & EXT2_FLAG_SWAP_BYTES) ||