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:
parent
4cf4ce4e3f
commit
4a58b9436f
@ -1280,7 +1280,7 @@ bufshutdown(int show_busybufs)
|
||||
/*
|
||||
* Unmount filesystems
|
||||
*/
|
||||
if (panicstr == 0)
|
||||
if (panicstr == NULL)
|
||||
vfs_unmountall();
|
||||
}
|
||||
swapoff_all();
|
||||
|
Loading…
Reference in New Issue
Block a user