summaryrefslogtreecommitdiff
path: root/libpwdgrp/getgrnam.c
diff options
context:
space:
mode:
authorRuss Dill2003-12-18 22:40:58 +0000
committerRuss Dill2003-12-18 22:40:58 +0000
commitf796700cf010d7ff2615c59bc364bbbef14153a4 (patch)
tree59da8113d1decbb3ae5731d06487e56c426afb0f /libpwdgrp/getgrnam.c
parent4e864a36b611f56c6b347be1dace4e5e805a3eb8 (diff)
downloadbusybox-f796700cf010d7ff2615c59bc364bbbef14153a4.zip
busybox-f796700cf010d7ff2615c59bc364bbbef14153a4.tar.gz
rename __getgrent so that it doesn't conflict with some libc's
Diffstat (limited to 'libpwdgrp/getgrnam.c')
-rw-r--r--libpwdgrp/getgrnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/getgrnam.c b/libpwdgrp/getgrnam.c
index bf7f764..46950e2 100644
--- a/libpwdgrp/getgrnam.c
+++ b/libpwdgrp/getgrnam.c
@@ -39,7 +39,7 @@ struct group *getgrnam(const char *name)
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 (!strcmp(group->gr_name, name)) {
close(grp_fd);
return group;