summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index e95751432c..e0d14e7bfa 100644
--- a/file.c
+++ b/file.c
@@ -3896,7 +3896,7 @@ fpath_check(path)
char *path;
{
#ifndef DOSISH
- return path_check_0(path, Qfalse);
+ return path_check_0(rb_str_new2(path), Qfalse);
#else
return 1;
#endif