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
fb9def88bd
commit
f1b13a89b0
@ -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