diff options
author | Russ Dill | 2003-12-18 22:40:58 +0000 |
---|---|---|
committer | Russ Dill | 2003-12-18 22:40:58 +0000 |
commit | f796700cf010d7ff2615c59bc364bbbef14153a4 (patch) | |
tree | 59da8113d1decbb3ae5731d06487e56c426afb0f /libpwdgrp/initgroups.c | |
parent | 4e864a36b611f56c6b347be1dace4e5e805a3eb8 (diff) | |
download | busybox-f796700cf010d7ff2615c59bc364bbbef14153a4.zip busybox-f796700cf010d7ff2615c59bc364bbbef14153a4.tar.gz |
rename __getgrent so that it doesn't conflict with some libc's
Diffstat (limited to 'libpwdgrp/initgroups.c')
-rw-r--r-- | libpwdgrp/initgroups.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c index ce63adb..f979483 100644 --- a/libpwdgrp/initgroups.c +++ b/libpwdgrp/initgroups.c @@ -89,9 +89,9 @@ int initgroups(__const char *user, gid_t gid) group_list[num_groups] = gid; #ifndef GR_DYNAMIC_GROUP_LIST while (num_groups < GR_MAX_GROUPS && - (group = __getgrent(grp_fd)) != NULL) + (group = bb_getgrent(grp_fd)) != NULL) #else - while ((group = __getgrent(grp_fd)) != NULL) + while ((group = bb_getgrent(grp_fd)) != NULL) #endif { if (group->gr_gid != gid) |