From 379c5c1e437821941802946fd370f0b84eb7363b Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 1 Oct 2003 15:26:06 +0000 Subject: [PATCH] * ext/etc/etc.c (etc_getgrent): typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++-- ext/etc/etc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b44fadc936..d1b67d1e03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,10 @@ -Thu Oct 2 00:14:16 2003 Nobuyoshi Nakada +Thu Oct 2 00:25:21 2003 Nobuyoshi Nakada * signal.c (ruby_signal_name): adjust to the prototype. * process.c (pst_inspect): ditto. - * ext/etc/etc.c (Init_etc): typo. + * ext/etc/etc.c (etc_getgrent, Init_etc): typo. Wed Oct 1 20:49:41 2003 Nobuyoshi Nakada diff --git a/ext/etc/etc.c b/ext/etc/etc.c index ac52eb662f..f64b30604a 100644 --- a/ext/etc/etc.c +++ b/ext/etc/etc.c @@ -339,7 +339,7 @@ etc_getgrent(obj) struct group *gr; if (gr = getgrent()) { - return setup_passwd(gr); + return setup_group(gr); } #endif return Qnil;