]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 19 Nov 2010 21:58:06 +0000 (22:58 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 19 Nov 2010 21:58:06 +0000 (22:58 +0100)
bootloader version instead of 0.

ChangeLog
grub-core/loader/i386/linux.c

index c143eebb81b274e279d813d0617b8b962780a26b..8b98c1a4f53c3e9faea0abaf576b3833242450c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index de4bec1063572d205c7b6de12bd81b4b74fcefba..95aa6b4562ffc61f054aae9f002efd12339e0023 100644 (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.  */