diff options
Diffstat (limited to 'libpwdgrp/getgrgid.c')
-rw-r--r-- | libpwdgrp/getgrgid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/getgrgid.c b/libpwdgrp/getgrgid.c index 73f0cca..7ffe8c5 100644 --- a/libpwdgrp/getgrgid.c +++ b/libpwdgrp/getgrgid.c @@ -30,7 +30,7 @@ struct group *getgrgid(const gid_t gid) struct group *group; int grp_fd; - 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) |