From f796700cf010d7ff2615c59bc364bbbef14153a4 Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Thu, 18 Dec 2003 22:40:58 +0000 Subject: rename __getgrent so that it doesn't conflict with some libc's --- libpwdgrp/getgrnam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpwdgrp/getgrnam.c') 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; -- cgit v1.1