summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-25 07:57:39 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-25 07:57:39 +0000
commite85693fc77cf2e854568dda5a56d0d2293bae665 (patch)
tree37f91a9f014ce238ab09c970aac3e0470c543a72 /mjit.c
parent33d0be15002d785af0a65f83377895a87138a5a6 (diff)
mjit.c: hide path search error behind verbose()
Before r63744, we let execvp(3) fail instead and it was quiet. The verbosity was causing test_search to fail in test/ruby/test_rubyoptions.rb when PATH is set to /tmp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index f1e442f4f5..07e9328aff 100644
--- a/mjit.c
+++ b/mjit.c
@@ -367,7 +367,7 @@ start_process(const char *path, char *const *argv)
int dev_null;
if (!abspath) {
- fprintf(stderr, "failed to find `%s' in PATH\n", path);
+ verbose(1, "MJIT: failed to find `%s' in PATH\n", path);
return -1;
}
dev_null = rb_cloexec_open(ruby_null_device, O_WRONLY, 0);