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 a6daff43f6..08238a1c9d 100644
--- a/load.c
+++ b/load.c
@@ -698,5 +698,5 @@ Init_load()
rb_define_global_function("autoload?", rb_f_autoload_p, 1);
ruby_dln_librefs = rb_ary_new();
- rb_register_mark_object(ruby_dln_librefs);
+ rb_gc_register_mark_object(ruby_dln_librefs);
}