summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/linker/MachO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c
index 58712075b2..970cf9c6cb 100644
--- a/rts/linker/MachO.c
+++ b/rts/linker/MachO.c
@@ -678,7 +678,7 @@ relocateSection(ObjectCode* oc, int curSection)
{
Section * sect = &oc->sections[curSection];
- IF_DEBUG(linker, debugBelch("relocateSection %d, info: %x\n", curSection, sect->info));
+ IF_DEBUG(linker, debugBelch("relocateSection %d, info: %p\n", curSection, (void*)sect->info));
// empty sections (without segments), won't have their info filled.
// there is no relocation to be done for them.