]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-07-16 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Wed, 16 Jul 2008 07:06:11 +0000 (07:06 +0000)
committerproski <proski@localhost>
Wed, 16 Jul 2008 07:06:11 +0000 (07:06 +0000)
* loader/i386/efi/linux.c (allocate_pages): Fix warnings in
format strings.

ChangeLog
loader/i386/efi/linux.c

index 756fd323864a364246aa5f6500f9a55811ba33c8..b9bd3ca5404c2e176838efb809c4897d53c3ad96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
index ee3fb996792fdb6af9e5deb167447e82b96959e8..946f56276c5cdf19855afb1e396deb95aaf832a5 100644 (file)
@@ -168,7 +168,7 @@ allocate_pages (grub_size_t real_size, grub_size_t prot_size)
   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
@@ -217,7 +217,7 @@ allocate_pages (grub_size_t real_size, grub_size_t prot_size)
          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)