[commit: ghc] master: Update error message text; spotted bu Sergei Trofimovich (2a17985)

Ian Lynagh igloo at earth.li
Mon Apr 22 00:30:59 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/2a17985aa34bce961bf9f581675cc9e1a7a3ad4c

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

commit 2a17985aa34bce961bf9f581675cc9e1a7a3ad4c
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun Apr 21 22:36:54 2013 +0100

    Update error message text; spotted bu Sergei Trofimovich

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

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

diff --git a/rts/Adjustor.c b/rts/Adjustor.c
index e4d6e8c..9f879de 100644
--- a/rts/Adjustor.c
+++ b/rts/Adjustor.c
@@ -132,7 +132,7 @@ createAdjustor (int cconv,
     }
 
     r = ffi_prep_closure_loc(cl, cif, (void*)wptr, hptr/*userdata*/, code);
-    if (r != FFI_OK) barf("ffi_prep_closure failed: %d", r);
+    if (r != FFI_OK) barf("ffi_prep_closure_loc failed: %d", r);
 
     return (void*)code;
 }





More information about the ghc-commits mailing list