The kernel now panics if it didn't found any possible boot partitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14506 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fde12d6407
commit
888248d42e
@ -235,8 +235,10 @@ vfs_mount_boot_file_system(kernel_args *args)
|
||||
{
|
||||
PartitionStack partitions;
|
||||
status_t status = get_boot_partitions(args, partitions);
|
||||
if (status < B_OK)
|
||||
if (status < B_OK) {
|
||||
panic("Did not get any boot partitions!");
|
||||
return status;
|
||||
}
|
||||
|
||||
KPartition *bootPartition;
|
||||
while (partitions.Pop(&bootPartition)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user