*: use NULL for null pointers

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-03-05 14:10:54 +01:00
parent 44fbfa78ca
commit 4b1100edd8
19 changed files with 36 additions and 36 deletions

View File

@ -80,7 +80,7 @@ errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
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) ||