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 c0e28b7c3a..45559b6c00 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -302,7 +302,7 @@ sockopt_inspect(VALUE self)
ret = rb_sprintf("#<%s: ", rb_obj_classname(self));
- family_id = intern_family(family);
+ family_id = intern_family_noprefix(family);
if (family_id)
rb_str_cat2(ret, rb_id2name(family_id));
else