aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 661059b226..a1e2dd34a7 100644
--- a/util.c
+++ b/util.c
@@ -354,7 +354,7 @@ __crt0_glob_function(char *path)
info.count = 0;
info.head = 0;
- rb_globi(buf, push_element, (VALUE)&info);
+ rb_glob(buf, push_element, (VALUE)&info);
if (buf != path_buffer)
ruby_xfree(buf);