aboutsummaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 1e03d412f9..970d13edcb 100644
--- a/dir.c
+++ b/dir.c
@@ -1410,7 +1410,7 @@ rb_glob(path, func, arg)
args.func = func;
args.arg = arg;
- status = rb_glob2(rb_str_new2(path), 0, func, &args);
+ status = rb_glob2(rb_str_new2(path), 0, rb_glob_caller, &args);
if (status) rb_jump_tag(status);
}