summaryrefslogtreecommitdiff
path: root/ext/socket/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r--ext/socket/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index f0f5806276..eeb292dc76 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -127,7 +127,7 @@ sockopt_data(VALUE self)
* The size and endian is dependent on the host.
*
* p Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1)
- * #=> #<Socket::Option: AF_INET SOCKET KEEPALIVE 1>
+ * #=> #<Socket::Option: INET SOCKET KEEPALIVE 1>
*/
static VALUE
sockopt_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE voptname, VALUE vint)