summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2014-04-04 12:33:06 +0200
committerHelge Deller <deller@gmx.de>2014-04-04 12:33:06 +0200
commit9bdbb1aa998a0259be270ec4abaa2ebec87c37fe (patch)
treea91e54a12dc13e7c57aa994368e72e5e3b17ab4b
parent8cfc88dbcd01c1126d12f8df68ecc337d1b98caa (diff)
downloadpalo-9bdbb1aa998a0259be270ec4abaa2ebec87c37fe.tar.gz
Use printf("0x%08x") instead of printf("%p"), which is not supported on
HP-UX.
-rw-r--r--palo/mkbootable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/palo/mkbootable.c b/palo/mkbootable.c
index d2a752b..d447a94 100644
--- a/palo/mkbootable.c
+++ b/palo/mkbootable.c
@@ -63,14 +63,14 @@ fix_bootloader(int out, int bootloader)
}
rblsize = loadable.size;
- printf("entry %p size %d\n", loadable.entry, rblsize);
+ printf("entry 0x%08x size %d\n", loadable.entry, rblsize);
rblsize += (FW_BLOCKSIZE - 1);
rblsize &= ~(FW_BLOCKSIZE - 1);
if (loadable.entry != loadable.first)
{
- fprintf(stderr, "Entry point addres %p must be the same as the lowest"
- "address %p\n", loadable.entry, loadable.first);
+ fprintf(stderr, "Entry point addres 0x%08x must be the same as the lowest"
+ "address 0x%08x\n", loadable.entry, loadable.first);
exit(2);
}