]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix x86_64-efi compilation error
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 29 Aug 2010 00:28:15 +0000 (02:28 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 29 Aug 2010 00:28:15 +0000 (02:28 +0200)
grub-core/lib/relocator.c

index 90b38330111643d9f767d503f12387293ced8525..53acda52fd2c51ca64c1a64bd0634ede83f91cca 100644 (file)
@@ -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);