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:
smh 2015-12-08 18:38:33 +00:00
parent 4cf4ce4e3f
commit 4a58b9436f

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();