]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 15 Dec 2013 13:35:18 +0000 (14:35 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 15 Dec 2013 13:35:18 +0000 (14:35 +0100)
ChangeLog
grub-core/loader/i386/linux.c

index 8bc99c121932b4a3abcbfa19c24cf9b52bad75c3..94cd76a4eec67d5966ab088f96ff630b16556902 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-15  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.
+
 2013-12-15  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/elfXX.c: Use grub_addr_t rather than long when
index a37eecf0401f24fbc635b0acb0dd65243dee5411..fa7ecc8c8c97912e19cad661f08dfb2f3c4a04c2 100644 (file)
@@ -249,8 +249,8 @@ allocate_pages (grub_size_t prot_size, grub_size_t *align,
     prot_mode_target = get_physical_target_address (ch);
   }
 
-  grub_dprintf ("linux", "prot_mode_mem = %lx, prot_mode_target = %lx, prot_size = %x\n",
-                (unsigned long) prot_mode_mem, (unsigned long) prot_mode_target,
+  grub_dprintf ("linux", "prot_mode_mem = %p, prot_mode_target = %lx, prot_size = %x\n",
+                prot_mode_mem, (unsigned long) prot_mode_target,
                (unsigned) prot_size);
   return GRUB_ERR_NONE;
 
@@ -593,8 +593,8 @@ grub_linux_boot (void)
   }
   efi_mmap_buf = (grub_uint8_t *) real_mode_mem + ctx.real_size;
 
-  grub_dprintf ("linux", "real_mode_mem = %lx\n",
-                (unsigned long) real_mode_mem);
+  grub_dprintf ("linux", "real_mode_mem = %p\n",
+                real_mode_mem);
 
   ctx.params = real_mode_mem;