summaryrefslogtreecommitdiffhomepage
path: root/e2fsprogs/old_e2fsprogs/ext2fs/bmap.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-05 14:10:54 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-05 14:10:54 +0100
commit4b1100edd8180efa2e81860ef2fadeebcb21f5fa (patch)
tree84ae15d899f04dc8fdc16172446eb8e76a834d67 /e2fsprogs/old_e2fsprogs/ext2fs/bmap.c
parent44fbfa78ca6126d658ff48cef79e2f7d29fae6c8 (diff)
*: use NULL for null pointers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs/bmap.c')
-rw-r--r--e2fsprogs/old_e2fsprogs/ext2fs/bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/bmap.c b/e2fsprogs/old_e2fsprogs/ext2fs/bmap.c
index b22fe3dbf..b2d0279d8 100644
--- a/e2fsprogs/old_e2fsprogs/ext2fs/bmap.c
+++ b/e2fsprogs/old_e2fsprogs/ext2fs/bmap.c
@@ -136,7 +136,7 @@ errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode,
struct ext2_inode inode_buf;
blk_t addr_per_block;
blk_t b;
- char *buf = 0;
+ char *buf = NULL;
errcode_t retval = 0;
int blocks_alloc = 0, inode_dirty = 0;