summaryrefslogtreecommitdiffstats
path: root/otherlibs/threads/scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/threads/scheduler.c')
-rw-r--r--otherlibs/threads/scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/threads/scheduler.c b/otherlibs/threads/scheduler.c
index 41854ead9..a25ed7cfc 100644
--- a/otherlibs/threads/scheduler.c
+++ b/otherlibs/threads/scheduler.c
@@ -514,7 +514,7 @@ try_again:
static void check_callback(void)
{
if (callback_depth > 1)
- fatal_error("Thread: deadlock during callback");
+ caml_fatal_error("Thread: deadlock during callback");
}
/* Reschedule without suspending the current thread */