2008-07-16 Pavel Roskin <proski@gnu.org>
+ * loader/i386/efi/linux.c (allocate_pages): Fix warnings in
+ format strings.
+
* util/i386/efi/grub-mkimage.c (get_target_address): Return a
pointer, not an integer. This fixes a warning and prevents
precision loss on 64-bit systems.
prot_size = page_align (prot_size);
mmap_size = find_mmap_size ();
- grub_dprintf ("linux", "real_size = %x, prot_size = %x, mmap_size = %x\n",
+ grub_dprintf ("linux", "real_size = %x, prot_size = %x, mmap_size = %lx\n",
real_size, prot_size, mmap_size);
/* Calculate the number of pages; Combine the real mode code with
if (addr < 0x10000)
continue;
- grub_dprintf ("linux", "trying to allocate %u pages at %x\n",
+ grub_dprintf ("linux", "trying to allocate %lu pages at %x\n",
real_mode_pages, (unsigned) addr);
real_mode_mem = grub_efi_allocate_pages (addr, real_mode_pages);
if (! real_mode_mem)