diff --git a/load.c b/load.c index b8a1bc92a5..d44a11c97d 100644 --- a/load.c +++ b/load.c @@ -1011,7 +1011,7 @@ rb_require_internal(VALUE fname, int safe) rb_set_safe_level_force(0); RUBY_DTRACE_HOOK(FIND_REQUIRE_ENTRY, RSTRING_PTR(fname)); - found = search_required(path, &path, safe, rb_feature_p); + found = search_required(path, &path, safe, rb_feature_p); RUBY_DTRACE_HOOK(FIND_REQUIRE_RETURN, RSTRING_PTR(fname)); if (found) {