summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-06-19 10:27:53 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-23 22:51:27 -0400
commit7ad4085c22a8d5030545cc9e0fedd0784836ecbf (patch)
tree22e1b7ca9dc4db90f5ce40e93f06b2b333049aa6
parentb5768cce0214e20937f8e1d41ef1d9b5613b02ae (diff)
downloadhaskell-7ad4085c22a8d5030545cc9e0fedd0784836ecbf.tar.gz
Fix invalid printf format
-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.