aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_msdosfs/dir.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-19 19:08:37 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-19 19:08:37 +0000
commitf3858ada3e3acc1608791cb36aad85d2edef72d5 (patch)
tree97eddcb9bbfe4798bab50e533f24db4322d184bb /sbin/fsck_msdosfs/dir.c
parenta5d5e8dd7c76ce71022cde628b7f4ff5e1314223 (diff)
fsck_msdosfs: use NULL instead of zero for pointers.
Notes
Notes: svn path=/head/; revision=298286
Diffstat (limited to 'sbin/fsck_msdosfs/dir.c')
-rw-r--r--sbin/fsck_msdosfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c
index d20762b85350..7ac07f6b3ffa 100644
--- a/sbin/fsck_msdosfs/dir.c
+++ b/sbin/fsck_msdosfs/dir.c
@@ -289,7 +289,7 @@ finishDosDirSection(void)
np = p->next;
freeDirTodo(p);
}
- pendingDirectories = 0;
+ pendingDirectories = NULL;
for (d = rootDir; d; d = nd) {
if ((nd = d->child) != NULL) {
d->child = 0;