summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass5.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-12 22:55:47 +0000
committerpfg <pfg@FreeBSD.org>2016-04-12 22:55:47 +0000
commit64332fef7de27c50f6522add770ceda556bdb4d6 (patch)
tree61d0fd2754e2e62ac62c940e80fcb04675619407 /sbin/fsck_ffs/pass5.c
parent5e2c24a43d150300de7952faf86b881bec60720a (diff)
downloadFreeBSD-src-64332fef7de27c50f6522add770ceda556bdb4d6.zip
FreeBSD-src-64332fef7de27c50f6522add770ceda556bdb4d6.tar.gz
fsck_ffs for pointers replace 0 with NULL.
Found with devel/coccinelle. Reviewed by: mckusick
Diffstat (limited to 'sbin/fsck_ffs/pass5.c')
-rw-r--r--sbin/fsck_ffs/pass5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c
index 13ef86d..67ad68a 100644
--- a/sbin/fsck_ffs/pass5.c
+++ b/sbin/fsck_ffs/pass5.c
@@ -82,7 +82,7 @@ pass5(void)
}
}
if (fs->fs_maxcontig > 1) {
- const char *doit = 0;
+ const char *doit = NULL;
if (fs->fs_contigsumsize < 1) {
doit = "CREAT";
OpenPOWER on IntegriCloud