Fix x86_64-efi compilation error

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-29 02:28:15 +02:00
parent f5c1e402d3
commit 5d9bdcf167

View file

@ -586,8 +586,8 @@ malloc_in_range (struct grub_relocator *rel,
continue; continue;
do do
{ {
grub_dprintf ("relocator", "free block %p+0x%x\n", grub_dprintf ("relocator", "free block %p+0x%lx\n",
p, p->size); p, (unsigned long) p->size);
if (p->magic != GRUB_MM_FREE_MAGIC) if (p->magic != GRUB_MM_FREE_MAGIC)
grub_fatal (__FILE__":%d free magic broken at %p (0x%x)\n", grub_fatal (__FILE__":%d free magic broken at %p (0x%x)\n",
__LINE__, p, p->magic); __LINE__, p, p->magic);