Don't use 0 for pointer comparison

Use NULL instead of 0 for comparison with panicstr.

MFC after:	1 week
Sponsored by:	Multiplay
This commit is contained in:
Steven Hartland 2015-12-08 18:38:33 +00:00
parent fb9def88bd
commit f1b13a89b0

View File

@ -1280,7 +1280,7 @@ bufshutdown(int show_busybufs)
/* /*
* Unmount filesystems * Unmount filesystems
*/ */
if (panicstr == 0) if (panicstr == NULL)
vfs_unmountall(); vfs_unmountall();
} }
swapoff_all(); swapoff_all();