fix some bugs in the linux boot code.

This commit is contained in:
okuji committed 2000-07-25 12:08:14 +00:00
1 parent c786d8603e
commit 529a2dc5e0
5 files changed
+33 -9

No files matched your search

+4 -1
View File
@@ -347,10 +347,13 @@ load_image (char *kernel, char *arg, kernel_t suggested_type,
errnum = ERR_EXEC_FORMAT;
return KERNEL_TYPE_NONE;
}
/* Ugly hack. */
linux_text_len = text_len;
return big_linux ? KERNEL_TYPE_BIG_LINUX : KERNEL_TYPE_LINUX;
}
else if (!errnum)
else if (! errnum)
errnum = ERR_EXEC_FORMAT;
}
else