diff options
author | Cillian O'Donnell <cpodonnell8@gmail.com> | 2017-04-08 11:32:28 +0100 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-14 13:01:13 -0500 |
commit | 27920db91e30a3ebc080e86598782c76ee5f78ab (patch) | |
tree | 1e5696c87e6b9e612ce8d8ade99cdd537a5e13fd /c/src/lib/libbsp/sparc64 | |
parent | cpukit/../i386/cpu.c: Use inttypes.h to fix 1 warning. (diff) | |
download | rtems-27920db91e30a3ebc080e86598782c76ee5f78ab.tar.bz2 |
libbsp/.../sparc64/loader/main.c: Use inttypes.h constants to remove 1 warning
Diffstat (limited to 'c/src/lib/libbsp/sparc64')
-rw-r--r-- | c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c | 3 |
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); |