summaryrefslogtreecommitdiff
path: root/ext/IO
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2005-12-08 09:56:22 +0000
committerGisle Aas <gisle@activestate.com>2005-12-08 09:56:22 +0000
commitf0bc0462cc91ff06615d9aca37933a66b68ea888 (patch)
tree9da33c61c674c6541625ab4622f37a81b177e344 /ext/IO
parent23d0437f66972bc146b114c26cbf448ceea3e9e2 (diff)
downloadperl-f0bc0462cc91ff06615d9aca37933a66b68ea888.tar.gz
Fixup the setsockopt usage message; missing OPTVAL.
p4raw-id: //depot/perl@26300
Diffstat (limited to 'ext/IO')
-rw-r--r--ext/IO/lib/IO/Socket.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/IO/lib/IO/Socket.pm b/ext/IO/lib/IO/Socket.pm
index 46504db209..7e57bad06f 100644
--- a/ext/IO/lib/IO/Socket.pm
+++ b/ext/IO/lib/IO/Socket.pm
@@ -249,7 +249,7 @@ sub shutdown {
}
sub setsockopt {
- @_ == 4 or croak '$sock->setsockopt(LEVEL, OPTNAME)';
+ @_ == 4 or croak '$sock->setsockopt(LEVEL, OPTNAME, OPTVAL)';
setsockopt($_[0],$_[1],$_[2],$_[3]);
}