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:
Axel Dörfler 2003-10-21 05:35:57 +00:00
parent 4f364c85af
commit a721098497

View File

@ -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;