* loader/multiboot_loader.c: Fix multiboot command
unregistration. Fix all typos in the word "multiboot".
This commit is contained in:
parent
942391998a
commit
c3c20931a9
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-12-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* loader/multiboot_loader.c: Fix multiboot command
|
||||||
|
unregistration. Fix all typos in the word "multiboot".
|
||||||
|
|
||||||
2007-12-19 Pavel Roskin <proski@gnu.org>
|
2007-12-19 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* util/grub.d/10_linux.in: Refactor search for initrd. Add
|
* util/grub.d/10_linux.in: Refactor search for initrd. Add
|
||||||
|
|
|
@ -35,8 +35,8 @@ grub_dl_t my_mod;
|
||||||
/* This tracks which version of multiboot to use when using
|
/* This tracks which version of multiboot to use when using
|
||||||
* the module command. By default use multiboot version 1.
|
* the module command. By default use multiboot version 1.
|
||||||
* values:
|
* values:
|
||||||
* 1 - Mulitboot version 1
|
* 1 - Multiboot version 1
|
||||||
* 2 - Mutliboot version 2
|
* 2 - Multiboot version 2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static unsigned int module_version_status = 1;
|
static unsigned int module_version_status = 1;
|
||||||
|
@ -125,7 +125,7 @@ grub_rescue_cmd_multiboot_loader (int argc, char *argv[])
|
||||||
if (header_multi_ver_found == 0 || header_multi_ver_found == 2)
|
if (header_multi_ver_found == 0 || header_multi_ver_found == 2)
|
||||||
{
|
{
|
||||||
grub_dprintf ("multiboot_loader",
|
grub_dprintf ("multiboot_loader",
|
||||||
"Launching mulitboot 2 grub_multiboot2() function\n");
|
"Launching multiboot 2 grub_multiboot2() function\n");
|
||||||
grub_multiboot2 (argc, argv);
|
grub_multiboot2 (argc, argv);
|
||||||
module_version_status = 2;
|
module_version_status = 2;
|
||||||
}
|
}
|
||||||
|
@ -171,6 +171,6 @@ GRUB_MOD_INIT(multiboot)
|
||||||
|
|
||||||
GRUB_MOD_FINI(multiboot)
|
GRUB_MOD_FINI(multiboot)
|
||||||
{
|
{
|
||||||
grub_rescue_unregister_command ("mulitboot");
|
grub_rescue_unregister_command ("multiboot");
|
||||||
grub_rescue_unregister_command ("module");
|
grub_rescue_unregister_command ("module");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue