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 9f04b5f838..03f40942d8 100644
--- a/file.c
+++ b/file.c
@@ -2451,7 +2451,7 @@ rb_file_s_readlink(VALUE klass, VALUE path)
xfree(buf);
rb_sys_fail_path(path);
}
- v = rb_tainted_str_new(buf, rv);
+ v = rb_filesystem_str_new(buf, rv);
xfree(buf);
return v;