--- c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c | 3 ++- 1 file changed, 2 insertions(+), 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 f063ad7..f52c20b 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); -- 2.7.4 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel