diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-22 23:17:44 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-22 23:17:44 +0000 |
commit | f182456013a4416e176b000076b9f101c144d586 (patch) | |
tree | 294b193380bed8c0fd627448762679804c6c7b32 /util/inteltool/inteltool.c | |
parent | 554fce6ced7a13e3f5961fbc7b2be1e5a2d4f6ad (diff) | |
download | coreboot-f182456013a4416e176b000076b9f101c144d586.tar.xz |
mini fix to reliably compile inteltool on darwin, and on Linux both on x86/x86_64.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/inteltool/inteltool.c')
-rw-r--r-- | util/inteltool/inteltool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c index c8fa6ac4fb..d7bd6c08f6 100644 --- a/util/inteltool/inteltool.c +++ b/util/inteltool/inteltool.c @@ -57,7 +57,7 @@ void *map_physical(unsigned long phys_addr, int len) fd_mem, (off_t) phys_addr); if (virt_addr == MAP_FAILED) { - printf("Error mapping physical memory 0x%08x[0x%x]\n", phys_addr, len); + printf("Error mapping physical memory 0x%08lx[0x%x]\n", phys_addr, len); return NULL; } |