Date: Tue, 8 Dec 2015 18:38:33 +0000 (UTC) From: Steven Hartland <smh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291998 - head/sys/kern Message-ID: <201512081838.tB8IcX2u005734@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: smh Date: Tue Dec 8 18:38:33 2015 New Revision: 291998 URL: https://svnweb.freebsd.org/changeset/base/291998 Log: Don't use 0 for pointer comparison Use NULL instead of 0 for comparison with panicstr. MFC after: 1 week Sponsored by: Multiplay Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ============================================================================== --- head/sys/kern/vfs_bio.c Tue Dec 8 17:56:40 2015 (r291997) +++ head/sys/kern/vfs_bio.c Tue Dec 8 18:38:33 2015 (r291998) @@ -1280,7 +1280,7 @@ bufshutdown(int show_busybufs) /* * Unmount filesystems */ - if (panicstr == 0) + if (panicstr == NULL) vfs_unmountall(); } swapoff_all();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081838.tB8IcX2u005734>