[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[1713] 2008-07-16 Pavel Roskin <address@hidden>
From: |
Pavel Roskin |
Subject: |
[1713] 2008-07-16 Pavel Roskin <address@hidden> |
Date: |
Wed, 16 Jul 2008 07:06:12 +0000 |
Revision: 1713
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1713
Author: proski
Date: 2008-07-16 07:06:11 +0000 (Wed, 16 Jul 2008)
Log Message:
-----------
2008-07-16 Pavel Roskin <address@hidden>
* loader/i386/efi/linux.c (allocate_pages): Fix warnings in
format strings.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/loader/i386/efi/linux.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2008-07-16 06:55:42 UTC (rev 1712)
+++ trunk/grub2/ChangeLog 2008-07-16 07:06:11 UTC (rev 1713)
@@ -1,5 +1,8 @@
2008-07-16 Pavel Roskin <address@hidden>
+ * 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.
Modified: trunk/grub2/loader/i386/efi/linux.c
===================================================================
--- trunk/grub2/loader/i386/efi/linux.c 2008-07-16 06:55:42 UTC (rev 1712)
+++ trunk/grub2/loader/i386/efi/linux.c 2008-07-16 07:06:11 UTC (rev 1713)
@@ -168,7 +168,7 @@
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 @@
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [1713] 2008-07-16 Pavel Roskin <address@hidden>,
Pavel Roskin <=