diff --git a/ChangeLog b/ChangeLog index 9de840737..af66d3a56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-10-12 Vladimir Serbinenko + + * grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer. + 2013-10-12 Vladimir Serbinenko * include/grub/misc.h: Use gnu_printf rather than printf as format diff --git a/grub-core/kern/arm/dl_helper.c b/grub-core/kern/arm/dl_helper.c index 951019b58..68a9e3bbf 100644 --- a/grub-core/kern/arm/dl_helper.c +++ b/grub-core/kern/arm/dl_helper.c @@ -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;