diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-06-19 10:27:53 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-23 22:51:27 -0400 |
commit | 7ad4085c22a8d5030545cc9e0fedd0784836ecbf (patch) | |
tree | 22e1b7ca9dc4db90f5ce40e93f06b2b333049aa6 /rts/linker/MachO.c | |
parent | b5768cce0214e20937f8e1d41ef1d9b5613b02ae (diff) | |
download | haskell-7ad4085c22a8d5030545cc9e0fedd0784836ecbf.tar.gz |
Fix invalid printf format
Diffstat (limited to 'rts/linker/MachO.c')
-rw-r--r-- | rts/linker/MachO.c | 2 |
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. |