aboutsummaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 2c3212081a..579a303086 100644
--- a/dir.c
+++ b/dir.c
@@ -558,7 +558,7 @@ extract_elem(path)
}
static void
-remove_backslases(p)
+remove_backslashes(p)
char *p;
{
char *pend = p + strlen(p);
@@ -590,7 +590,7 @@ rb_glob_helper(path, flag, func, arg)
char *p, *m;
if (!has_magic(path, 0)) {
- remove_backslases(path);
+ remove_backslashes(path);
if (rb_sys_stat(path, &st) == 0) {
(*func)(path, arg);
}