]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 18 Sep 2012 09:44:29 +0000 (11:44 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 18 Sep 2012 09:44:29 +0000 (11:44 +0200)
le-conversion.
Reported by: BURETTE, Bernard.

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

index de80a9406a18a7649f51f1e370ce34aefdd254d3..b524cf608f39b08a98518edf69576dc3bd09edd4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-18  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect
+       le-conversion.
+       Reported by: BURETTE, Bernard.
+
 2012-09-17  Colin Watson  <cjwatson@debian.org>
 
        * util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence
index d34b2f8f76690af20d8956594c3b7ad57e1df00d..bcb037cc7ba8c84f92a01879e14a1f1be7a325b7 100644 (file)
@@ -839,7 +839,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
 
 #ifdef GRUB_MACHINE_EFI
 #ifdef __x86_64__
-  if (grub_le_to_cpu16 (params->version < 0x0208) &&
+  if (grub_le_to_cpu16 (params->version) < 0x0208 &&
       ((grub_addr_t) grub_efi_system_table >> 32) != 0)
     return grub_error(GRUB_ERR_BAD_OS,
                      "kernel does not support 64-bit addressing");