* grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-12 07:50:26 +02:00
parent eac6ae822c
commit ff2d4dc41c
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-10-12 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.
2013-10-12 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/misc.h: Use gnu_printf rather than printf as format

View file

@ -109,8 +109,8 @@ grub_arm_reloc_thm_call (grub_uint16_t *target, Elf32_Addr sym_addr)
return grub_error (GRUB_ERR_BAD_MODULE,
N_("THM_CALL Relocation out of range."));
grub_dprintf ("dl", " relative destination = 0x%08lx",
(unsigned long)target + offset);
grub_dprintf ("dl", " relative destination = %p",
(char *) target + offset);
/* Reassemble instruction word */
sign = (offset >> 24) & 1;