2008-03-30 Pavel Roskin <proski@gnu.org>
* loader/i386/pc/multiboot2.c (grub_mb2_arch_elf64_hook): Add missing grub_error() call.
This commit is contained in:
parent
0ecef90d9b
commit
9a3f3296d5
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-03-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* loader/i386/pc/multiboot2.c (grub_mb2_arch_elf64_hook): Add
|
||||
missing grub_error() call.
|
||||
|
||||
* util/update-grub_lib.in: Define datarootdir, since Autoconf
|
||||
2.60 and newer uses it to define datadir.
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ grub_mb2_arch_elf64_hook (Elf64_Phdr *phdr, UNUSED grub_addr_t *addr)
|
|||
|
||||
if ((paddr < grub_os_area_addr)
|
||||
|| (paddr + phdr->p_memsz > grub_os_area_addr + grub_os_area_size))
|
||||
return (GRUB_ERR_OUT_OF_RANGE,"Address 0x%x is out of range",
|
||||
return grub_error (GRUB_ERR_OUT_OF_RANGE, "Address 0x%x is out of range",
|
||||
paddr);
|
||||
|
||||
return GRUB_ERR_NONE;
|
||||
|
|
Loading…
Reference in a new issue