aboutsummaryrefslogtreecommitdiffstats
path: root/thread_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_sync.c')
-rw-r--r--thread_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c
index ed81a31d76..efa6208f5d 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -1157,7 +1157,7 @@ static VALUE
do_sleep(VALUE args)
{
struct sleep_call *p = (struct sleep_call *)args;
- return rb_funcall2(p->mutex, id_sleep, 1, &p->timeout);
+ return rb_funcallv(p->mutex, id_sleep, 1, &p->timeout);
}
static VALUE