From: Vladimir 'phcoder' Serbinenko Date: Sat, 12 Oct 2013 05:50:26 +0000 (+0200) Subject: * grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer. X-Git-Tag: grub-2.02-beta1~724 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff2d4dc41c6ef96eebde0015ae50ab626ff21d86;p=thirdparty%2Fgrub.git * grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer. --- 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;