summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index fc33fe568d..962a054157 100644
--- a/thread.c
+++ b/thread.c
@@ -1248,7 +1248,7 @@ rb_threadptr_execute_interrupts_rec(rb_thread_t *th, int sched_depth)
}
else {
if (err == eReRaiseSignal) {
- err = rb_rubylevel_thread_errinfo(th);
+ err = rb_threadptr_errinfo(th);
err = rb_make_exception(NIL_P(err) ? 0 : 1, &err);
}
rb_exc_raise(err);