]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 12 Oct 2013 05:50:26 +0000 (07:50 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 12 Oct 2013 05:50:26 +0000 (07:50 +0200)
ChangeLog
grub-core/kern/arm/dl_helper.c

index 9de840737a559a2245d474d59cb1273f3051f2e5..af66d3a56ae50141ca7e85d0bebf0cea249493c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 951019b58b2264ac61f9affac67b1d40d15c4319..68a9e3bbf9d9ee363c65c516b9c10d4158f93235 100644 (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;