summaryrefslogtreecommitdiff
path: root/ext/etc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 05:51:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 05:51:33 +0000
commit9f5f7b87bafc1e47cc00237020e6bdb7e8fc37be (patch)
tree557dc39c0f659fe2e164cf358b06bc8f49ac3f2f /ext/etc
parent705c567194281322a0a2a38df090384a32124e18 (diff)
* ext/etc/etc.c (etc_each_group): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/etc')
-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 c8e52da..fc96b5f 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -464,7 +464,7 @@ etc_group(VALUE obj)
return Qnil;
}
-#ifdef HAVE_GETPWENT
+#ifdef HAVE_GETGRENT
/* Iterates for each entry in the /etc/group file if a block is given.
* If no block is given, returns the enumerator.
*