Removed unneeded code, updated comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7519 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
797647691a
commit
dc4eb9db8d
|
@ -77,14 +77,6 @@ load_kernel(stage2_args *args, Directory *volume)
|
|||
|
||||
gKernelEntry = image.elf_header.e_entry;
|
||||
|
||||
/* void *cookie;
|
||||
if (volume->Open(&cookie, O_RDONLY) == B_OK) {
|
||||
char name[B_FILE_NAME_LENGTH];
|
||||
while (volume->GetNextEntry(cookie, name, sizeof(name)) == B_OK)
|
||||
printf("\t%s\n", name);
|
||||
|
||||
volume->Close(cookie);
|
||||
}*/
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
@ -92,7 +84,7 @@ load_kernel(stage2_args *args, Directory *volume)
|
|||
static status_t
|
||||
load_modules_from(Directory *volume, const char *path)
|
||||
{
|
||||
// we don't have readdir() & co. yet...
|
||||
// we don't have readdir() & co. (yet?)...
|
||||
|
||||
int fd = open_from(volume, path, O_RDONLY);
|
||||
if (fd < B_OK)
|
||||
|
|
Loading…
Reference in New Issue