aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp/getgrgid.c
diff options
context:
space:
mode:
authorRuss Dill <Russ.Dill@asu.edu>2003-12-18 22:40:58 +0000
committerRuss Dill <Russ.Dill@asu.edu>2003-12-18 22:40:58 +0000
commitf796700cf010d7ff2615c59bc364bbbef14153a4 (patch)
tree59da8113d1decbb3ae5731d06487e56c426afb0f /libpwdgrp/getgrgid.c
parent4e864a36b611f56c6b347be1dace4e5e805a3eb8 (diff)
downloadbusybox-f796700cf010d7ff2615c59bc364bbbef14153a4.tar.gz
rename __getgrent so that it doesn't conflict with some libc's
Diffstat (limited to 'libpwdgrp/getgrgid.c')
-rw-r--r--libpwdgrp/getgrgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/getgrgid.c b/libpwdgrp/getgrgid.c
index 7ffe8c5c3..0f5ce1cac 100644
--- a/libpwdgrp/getgrgid.c
+++ b/libpwdgrp/getgrgid.c
@@ -33,7 +33,7 @@ struct group *getgrgid(const gid_t gid)
if ((grp_fd = open(bb_path_group_file, O_RDONLY)) < 0)
return NULL;
- while ((group = __getgrent(grp_fd)) != NULL)
+ while ((group = bb_getgrent(grp_fd)) != NULL)
if (group->gr_gid == gid) {
close(grp_fd);
return group;