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/finddev.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/finddev.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/ext2fs/finddev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/finddev.c b/e2fsprogs/old_e2fsprogs/ext2fs/finddev.c index 5e2cce9..e9e83fd 100644 --- a/e2fsprogs/old_e2fsprogs/ext2fs/finddev.c +++ b/e2fsprogs/old_e2fsprogs/ext2fs/finddev.c @@ -115,9 +115,9 @@ success: */ char *ext2fs_find_block_device(dev_t device) { - struct dir_list *list = 0, *new_list = 0; + struct dir_list *list = NULL, *new_list = NULL; struct dir_list *current; - char *ret_path = 0; + char *ret_path = NULL; /* * Add the starting directories to search... |