summaryrefslogtreecommitdiff
path: root/rts/Adjustor.c
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-04-21 22:36:54 +0100
committerIan Lynagh <ian@well-typed.com>2013-04-21 22:36:54 +0100
commit2a17985aa34bce961bf9f581675cc9e1a7a3ad4c (patch)
treed1632767e79ccef229964de34208d630ab1a6531 /rts/Adjustor.c
parentca33aa89d924e432838fda4efa5116c355d29ff9 (diff)
downloadhaskell-2a17985aa34bce961bf9f581675cc9e1a7a3ad4c.tar.gz
Update error message text; spotted bu Sergei Trofimovich
Diffstat (limited to 'rts/Adjustor.c')
-rw-r--r--rts/Adjustor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Adjustor.c b/rts/Adjustor.c
index e4d6e8c529..9f879de729 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;
}