diff --git a/ChangeLog b/ChangeLog index 71a564de0..c78361cdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ * util/update-grub_lib.in: Likewise. * loader/i386/linux.c (allocate_pages): Fix a warning. + Move comment text to `#error' stanza. 2008-11-19 Robert Millan diff --git a/loader/i386/linux.c b/loader/i386/linux.c index 8b653cf2f..a5fbf041e 100644 --- a/loader/i386/linux.c +++ b/loader/i386/linux.c @@ -143,10 +143,8 @@ allocate_pages (grub_size_t prot_size) real_mode_mem = 0; prot_mode_mem = 0; - /* i386-pc port adds lower memory to heap, which collides with - `real_mode_mem' allocation below. */ #ifdef GRUB_MACHINE_PCBIOS -#error +#error i386-pc port adds lower memory to heap, which collides with `real_mode_mem' allocation below #endif auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t, grub_uint32_t);