Now prints an error message if the kernel couldn't be loaded.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5111 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4f364c85af
commit
a721098497
@ -58,8 +58,10 @@ load_kernel(stage2_args *args, Directory *volume)
|
||||
|
||||
close(fd);
|
||||
|
||||
if (status < B_OK)
|
||||
if (status < B_OK) {
|
||||
printf("loading kernel failed!\n");
|
||||
return status;
|
||||
}
|
||||
|
||||
puts("kernel loaded successfully");
|
||||
/* void *cookie;
|
||||
|
Loading…
x
Reference in New Issue
Block a user