From ff2d4dc41c6ef96eebde0015ae50ab626ff21d86 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sat, 12 Oct 2013 07:50:26 +0200 Subject: [PATCH] * grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer. --- ChangeLog | 4 ++++ grub-core/kern/arm/dl_helper.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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;