svn commit: r298286 - head/sbin/fsck_msdosfs
Pedro F. Giffuni
pfg at FreeBSD.org
Tue Apr 19 19:08:38 UTC 2016
Author: pfg
Date: Tue Apr 19 19:08:37 2016
New Revision: 298286
URL: https://svnweb.freebsd.org/changeset/base/298286
Log:
fsck_msdosfs: use NULL instead of zero for pointers.
Modified:
head/sbin/fsck_msdosfs/dir.c
Modified: head/sbin/fsck_msdosfs/dir.c
==============================================================================
--- head/sbin/fsck_msdosfs/dir.c Tue Apr 19 19:03:55 2016 (r298285)
+++ head/sbin/fsck_msdosfs/dir.c Tue Apr 19 19:08:37 2016 (r298286)
@@ -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;
More information about the svn-src-head
mailing list