bootloader: Add missing NULL check.
This commit is contained in:
@@ -426,7 +426,7 @@ Partition::Scan(bool mountFileSystems, bool isBootDevice)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// scan for file systems
|
// scan for file systems
|
||||||
if (mountFileSystems)
|
if (mountFileSystems && bestFSModule != NULL)
|
||||||
return _Mount(bestFSModule, NULL);
|
return _Mount(bestFSModule, NULL);
|
||||||
|
|
||||||
return B_ENTRY_NOT_FOUND;
|
return B_ENTRY_NOT_FOUND;
|
||||||
|
|||||||
Reference in New Issue
Block a user