[commit: ghc] master: Fix typo in error message (cc29b46)

git at git.haskell.org git at git.haskell.org
Sat Jan 11 10:22:17 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cc29b4659664a659299ac65dac7d54e827fe6544/ghc

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

commit cc29b4659664a659299ac65dac7d54e827fe6544
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Jan 11 11:20:26 2014 +0100

    Fix typo in error message
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

cc29b4659664a659299ac65dac7d54e827fe6544
 rts/posix/OSMem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c
index b57adbf..69140a9 100644
--- a/rts/posix/OSMem.c
+++ b/rts/posix/OSMem.c
@@ -289,7 +289,7 @@ StgWord64 getPhysicalMemorySize (void)
         long ret = sysconf(_SC_PHYS_PAGES);
         if (ret == -1) {
 #if defined(DEBUG)
-            errorBelch("warning: getPhysicsMemorySize: cannot get physical memory size");
+            errorBelch("warning: getPhysicalMemorySize: cannot get physical memory size");
 #endif
             return 0;
         }



More information about the ghc-commits mailing list