[rtems commit] sparc64/shared/helenos/boot/sparc64/loader/main.c: Fix printf() format warning

Joel Sherrill joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017


Module:    rtems
Branch:    master
Commit:    5e899b5382d3cf4628dd4ab7f6c4990b813e9ceb
Changeset: http://git.rtems.org/rtems/commit/?id=5e899b5382d3cf4628dd4ab7f6c4990b813e9ceb

Author:    Joel Sherrill <joel at rtems.org>
Date:      Sun Apr 23 20:35:05 2017 -0500

sparc64/shared/helenos/boot/sparc64/loader/main.c: Fix printf() format warning

---

 c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c b/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
index f52c20b..4e413f7 100644
--- a/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
+++ b/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
@@ -317,7 +317,7 @@ void bootstrap(void)
   printk("\nMemory statistics (total %d MB, starting at %" PRIxPTR ")\n",
 	    bootinfo.memmap.total >> 20, bootinfo.physmem_start);
 	printk(" %x: kernel entry point\n", KERNEL_VIRTUAL_ADDRESS);
-	printk(" %x: boot info structure\n", &bootinfo);
+	printk(" %p: boot info structure\n", &bootinfo);
 
 #if 0
 	/*



More information about the vc mailing list