summaryrefslogtreecommitdiff
path: root/ext/-test-/funcall/passing_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/funcall/passing_block.c')
-rw-r--r--ext/-test-/funcall/passing_block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/funcall/passing_block.c b/ext/-test-/funcall/passing_block.c
index 0200f80369..70cb210831 100644
--- a/ext/-test-/funcall/passing_block.c
+++ b/ext/-test-/funcall/passing_block.c
@@ -5,7 +5,7 @@ VALUE rb_funcall_passing_block(VALUE, ID, int, const VALUE*);
static VALUE
with_funcall2(int argc, VALUE *argv, VALUE self)
{
- return rb_funcall2(self, rb_intern("target"), argc, argv);
+ return rb_funcallv(self, rb_intern("target"), argc, argv);
}
static VALUE