summaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/fsck.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-03-05 14:10:54 +0100
committerDenys Vlasenko2010-03-05 14:10:54 +0100
commit4b1100edd8180efa2e81860ef2fadeebcb21f5fa (patch)
tree84ae15d899f04dc8fdc16172446eb8e76a834d67 /e2fsprogs/old_e2fsprogs/fsck.c
parent44fbfa78ca6126d658ff48cef79e2f7d29fae6c8 (diff)
downloadbusybox-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/fsck.c')
-rw-r--r--e2fsprogs/old_e2fsprogs/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c
index c0964f7..dc029b6 100644
--- a/e2fsprogs/old_e2fsprogs/fsck.c
+++ b/e2fsprogs/old_e2fsprogs/fsck.c
@@ -1166,7 +1166,7 @@ static void signal_cancel(int sig FSCK_ATTR((unused)))
static void PRS(int argc, char **argv)
{
int i, j;
- char *arg, *dev, *tmp = 0;
+ char *arg, *dev, *tmp = NULL;
char options[128];
int opt = 0;
int opts_for_fsck = 0;