Fix compilation on sparc64

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-29 22:19:00 +01:00
parent 8291c2a3c9
commit 0997ea7a43

View file

@ -246,7 +246,7 @@ grub_linux_load64 (grub_elf_t elf)
linux_entry = elf->ehdr.ehdr64.e_entry; linux_entry = elf->ehdr.ehdr64.e_entry;
linux_addr = 0x40004000; linux_addr = 0x40004000;
off = 0x4000; off = 0x4000;
linux_size = grub_elf64_size (elf); linux_size = grub_elf64_size (elf, 0);
if (linux_size == 0) if (linux_size == 0)
return grub_errno; return grub_errno;