aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 854ab47b9c..5e564611b7 100644
--- a/process.c
+++ b/process.c
@@ -1295,7 +1295,7 @@ rb_exec(const struct rb_exec_arg *e)
#ifndef FD_CLOEXEC
preserving_errno({
fprintf(stderr, "%s:%d: command not found: %s\n",
- ruby_sourcefile, ruby_sourceline, prog);
+ rb_sourcefile(), rb_sourceline(), prog);
});
#endif
return -1;