summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c')
-rw-r--r--c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c3
1 files changed, 2 insertions, 1 deletions
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 f063ad7d09..f52c20b657 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
@@ -40,6 +40,7 @@
#include <bsp.h>
#include <rtems/bspIo.h>
+#include <inttypes.h>
#include <boot/main.h>
#include <boot/balloc.h>
@@ -313,7 +314,7 @@ void bootstrap(void)
}
}
- printk("\nMemory statistics (total %d MB, starting at %x)\n",
+ 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);