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 919622e..bf7f764 100644 --- a/libpwdgrp/getgrnam.c +++ b/libpwdgrp/getgrnam.c @@ -36,7 +36,7 @@ struct group *getgrnam(const char *name) return NULL; } - if ((grp_fd = open("/etc/group", O_RDONLY)) < 0) + if ((grp_fd = open(bb_path_group_file, O_RDONLY)) < 0) return NULL; while ((group = __getgrent(grp_fd)) != NULL) |