summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_process.rb')
-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