diff options
Diffstat (limited to 'libpwdgrp/getgrnam.c')
-rw-r--r-- | libpwdgrp/getgrnam.c | 2 |
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; |