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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to