Update error message text; spotted bu Sergei Trofimovich
authorIan Lynagh <ian@well-typed.com>
Sun, 21 Apr 2013 21:36:54 +0000 (22:36 +0100)
committerIan Lynagh <ian@well-typed.com>
Sun, 21 Apr 2013 21:36:54 +0000 (22:36 +0100)
rts/Adjustor.c

index e4d6e8c..9f879de 100644 (file)
@@ -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;
 }