* grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect

le-conversion.
	Reported by: BURETTE, Bernard.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-09-18 11:44:29 +02:00
parent a2fc392426
commit 4e09245441
2 changed files with 7 additions and 1 deletions

View file

@ -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

View 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");