2008-07-14 Pavel Roskin <proski@gnu.org>
* commands/blocklist.c (grub_cmd_blocklist): Fix format warning. * commands/cmp.c (grub_cmd_cmp): Likewise. * kern/dl.c (grub_dl_flush_cache): Likewise. (grub_dl_load_core): Likewise. * kern/elf.c (grub_elf32_load_phdrs): Likewise. (grub_elf64_load_phdrs): Likewise.
This commit is contained in:
parent
fe9870876d
commit
e4e8eaa5b3
5 changed files with 21 additions and 11 deletions
|
@ -123,9 +123,9 @@ grub_elf32_load_phdrs (grub_elf_t elf)
|
|||
|
||||
phdrs_size = elf->ehdr.ehdr32.e_phnum * elf->ehdr.ehdr32.e_phentsize;
|
||||
|
||||
grub_dprintf ("elf", "Loading program headers at 0x%llx, size 0x%x.\n",
|
||||
grub_dprintf ("elf", "Loading program headers at 0x%llx, size 0x%lx.\n",
|
||||
(unsigned long long) elf->ehdr.ehdr32.e_phoff,
|
||||
phdrs_size);
|
||||
(unsigned long) phdrs_size);
|
||||
|
||||
elf->phdrs = grub_malloc (phdrs_size);
|
||||
if (! elf->phdrs)
|
||||
|
@ -301,9 +301,9 @@ grub_elf64_load_phdrs (grub_elf_t elf)
|
|||
|
||||
phdrs_size = elf->ehdr.ehdr64.e_phnum * elf->ehdr.ehdr64.e_phentsize;
|
||||
|
||||
grub_dprintf ("elf", "Loading program headers at 0x%llx, size 0x%x.\n",
|
||||
grub_dprintf ("elf", "Loading program headers at 0x%llx, size 0x%lx.\n",
|
||||
(unsigned long long) elf->ehdr.ehdr64.e_phoff,
|
||||
phdrs_size);
|
||||
(unsigned long) phdrs_size);
|
||||
|
||||
elf->phdrs = grub_malloc (phdrs_size);
|
||||
if (! elf->phdrs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue