summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'load.c')
-rw-r--r--load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index bf1d4ee982..02b4a68a89 100644
--- a/load.c
+++ b/load.c
@@ -929,7 +929,7 @@ load_failed(VALUE fname)
static VALUE
load_ext(VALUE path)
{
- rb_frame_visibility_set(METHOD_VISI_PUBLIC);
+ rb_scope_visibility_set(METHOD_VISI_PUBLIC);
return (VALUE)dln_load(RSTRING_PTR(path));
}