+2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.
+
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/elfXX.c: Use grub_addr_t rather than long when
prot_mode_target = get_physical_target_address (ch);
}
- grub_dprintf ("linux", "prot_mode_mem = %lx, prot_mode_target = %lx, prot_size = %x\n",
- (unsigned long) prot_mode_mem, (unsigned long) prot_mode_target,
+ grub_dprintf ("linux", "prot_mode_mem = %p, prot_mode_target = %lx, prot_size = %x\n",
+ prot_mode_mem, (unsigned long) prot_mode_target,
(unsigned) prot_size);
return GRUB_ERR_NONE;
}
efi_mmap_buf = (grub_uint8_t *) real_mode_mem + ctx.real_size;
- grub_dprintf ("linux", "real_mode_mem = %lx\n",
- (unsigned long) real_mode_mem);
+ grub_dprintf ("linux", "real_mode_mem = %p\n",
+ real_mode_mem);
ctx.params = real_mode_mem;