summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 20673cbbb8..5cc4b53c6a 100644
--- a/file.c
+++ b/file.c
@@ -109,6 +109,7 @@ static void
rb_sys_fail_path0(const char *func_name, VALUE path)
{
VALUE mesg = rb_str_new_cstr(func_name);
+ rb_str_buf_cat2(mesg, ": ");
rb_str_buf_append(mesg, path);
rb_sys_fail_str(mesg);
}