mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
fix some bugs in the linux boot code.
This commit is contained in:
1 parent
c786d8603e
commit
529a2dc5e0
5 files changed
+33
-9
No files matched your search
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user