summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-12 15:23:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-12 15:23:22 +0000
commit6e9c02515dd31049c675cfa9d7a5512a07e20e4f (patch)
tree97f4dcadcb2dc5dba9710fe0f6e0b99a6204c044
parent1657cbab0d7666ed9a32a0f6662b2f0d1707e906 (diff)
* ext/etc/etc.c: fix struct name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/etc/etc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 6fd453e..2d7d619 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -777,7 +777,7 @@ Init_etc(void)
* members of the group.
*/
rb_define_const(mEtc, "Group", sGroup);
- rb_set_class_path(sPasswd, mEtc, "Group");
+ rb_set_class_path(sGroup, mEtc, "Group");
rb_define_const(rb_cStruct, "Group", sGroup); /* deprecated name */
rb_extend_object(sGroup, rb_mEnumerable);
rb_define_singleton_method(sGroup, "each", etc_each_group, 0);