From: Vladimir 'phcoder' Serbinenko Date: Sun, 29 Aug 2010 00:28:15 +0000 (+0200) Subject: Fix x86_64-efi compilation error X-Git-Tag: 1.99~629^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9bdcf167596a3b55f2ac43e64f791dc3918978;p=thirdparty%2Fgrub.git Fix x86_64-efi compilation error --- diff --git a/grub-core/lib/relocator.c b/grub-core/lib/relocator.c index 90b383301..53acda52f 100644 --- a/grub-core/lib/relocator.c +++ b/grub-core/lib/relocator.c @@ -586,8 +586,8 @@ malloc_in_range (struct grub_relocator *rel, continue; do { - grub_dprintf ("relocator", "free block %p+0x%x\n", - p, p->size); + grub_dprintf ("relocator", "free block %p+0x%lx\n", + p, (unsigned long) p->size); if (p->magic != GRUB_MM_FREE_MAGIC) grub_fatal (__FILE__":%d free magic broken at %p (0x%x)\n", __LINE__, p, p->magic);