summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-01-11 17:03:22 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-01-11 17:03:22 +0900
commit60844ecf2e63a4c0ff1c248908497a7b6665a42a (patch)
tree18d3674c5deead17207104020b837083260314b0
parent408828064373055a1cd0beb1bbe472451750b82b (diff)
Prevent a warning: ambiguous first argument
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index edee624665..7e317c0840 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -2816,7 +2816,7 @@ EOS
t1.join
t2 = Thread.new do
- Process.waitpid -1
+ Process.waitpid(-1)
rescue Errno::ECHILD
nil
end