[commit: ghc] master: Fix a couple of format strings (fb1b2c7)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/fb1b2c7d8064ab714ce7d0c674034a88e658672c

>---------------------------------------------------------------

commit fb1b2c7d8064ab714ce7d0c674034a88e658672c
Author: Ian Lynagh <[email protected]>
Date:   Fri Oct 26 22:39:53 2012 +0100

    Fix a couple of format strings

>---------------------------------------------------------------

 rts/Linker.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rts/Linker.c b/rts/Linker.c
index dca8a52..0fd3be1 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -5002,7 +5002,7 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC,
 #        endif // arm_HOST_ARCH
 
          default:
-            errorBelch("%s: unhandled ELF relocation(Rel) type %" FMT_SizeT "\n",
+            errorBelch("%s: unhandled ELF relocation(Rel) type %" FMT_Word "\n",
                   oc->fileName, (W_)ELF_R_TYPE(info));
             return 0;
       }
@@ -5317,7 +5317,7 @@ do_Elf_Rela_relocations ( ObjectCode* oc, char* ehdrC,
 #endif
 
          default:
-            errorBelch("%s: unhandled ELF relocation(RelA) type %" FMT_SizeT "\n",
+            errorBelch("%s: unhandled ELF relocation(RelA) type %" FMT_Word "\n",
                   oc->fileName, (W_)ELF_R_TYPE(info));
             return 0;
       }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.