summaryrefslogtreecommitdiff
path: root/ext/etc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-18 13:56:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-18 13:56:15 +0000
commit9c79e14614869fbf3bb9132a554e28a5b85c0b72 (patch)
tree88457f9892c10e4f87f3d39aec2727a052d04f6f /ext/etc
parent728fa4a66158541cba8b5940e9b9e051ebc19e22 (diff)
* ext/etc/etc.c (etc_getgrgid): missed to replace a macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11776 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 54367a0..5e15176 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -326,7 +326,7 @@ etc_getgrgid(int argc, VALUE *argv, VALUE obj)
rb_secure(4);
if (rb_scan_args(argc, argv, "01", &id) == 1) {
- gid = PW_VAL2GID(id);
+ gid = NUM2GIDT(id);
}
else {
gid = getgid();