* grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the

bootloader version instead of 0.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-11-19 22:58:06 +01:00
parent dfd240b122
commit 7f8b0fd7f0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
bootloader version instead of 0.
2010-11-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious

View File

@ -655,7 +655,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
goto fail;
}
params->type_of_loader = (LINUX_LOADER_ID_GRUB << 4);
params->type_of_loader = GRUB_LINUX_BOOT_LOADER_TYPE;
/* These two are used (instead of cmd_line_ptr) by older versions of Linux,
and otherwise ignored. */