Fix compilation on sparc64
This commit is contained in:
parent
8291c2a3c9
commit
0997ea7a43
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ grub_linux_load64 (grub_elf_t elf)
|
|||
linux_entry = elf->ehdr.ehdr64.e_entry;
|
||||
linux_addr = 0x40004000;
|
||||
off = 0x4000;
|
||||
linux_size = grub_elf64_size (elf);
|
||||
linux_size = grub_elf64_size (elf, 0);
|
||||
if (linux_size == 0)
|
||||
return grub_errno;
|
||||
|
||||
|
|
Loading…
Reference in a new issue