aboutsummaryrefslogtreecommitdiffstats
path: root/test/socket/test_unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/socket/test_unix.rb')
-rw-r--r--test/socket/test_unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index e18f5d6e95..d8cf7139e9 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -43,7 +43,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
UNIXSocket.pair {|s1, s2|
begin
ret = s1.sendmsg("\0", 0, nil, [Socket::SOL_SOCKET, Socket::SCM_RIGHTS,
- send_io_ary.map {|io| io.fileno }.pack("i!*")])
+ send_io_ary.map {|io2| io2.fileno }.pack("i!*")])
rescue NotImplementedError
return
end