summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 061de83..1fd4009 100644
--- a/iseq.c
+++ b/iseq.c
@@ -587,7 +587,7 @@ static VALUE
iseq_s_load(int argc, VALUE *argv, VALUE self)
{
VALUE data, opt=Qnil;
- rb_scan_args(argc, argv, "01", &opt);
+ rb_scan_args(argc, argv, "11", &data, &opt);
return iseq_load(data, NULL, opt);
}