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:
@@ -58,8 +58,10 @@ load_kernel(stage2_args *args, Directory *volume)
|
|||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
if (status < B_OK)
|
if (status < B_OK) {
|
||||||
|
printf("loading kernel failed!\n");
|
||||||
return status;
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
puts("kernel loaded successfully");
|
puts("kernel loaded successfully");
|
||||||
/* void *cookie;
|
/* void *cookie;
|
||||||
|
|||||||
Reference in New Issue
Block a user