diff options
Diffstat (limited to 'libpwdgrp/initgroups.c')
-rw-r--r-- | libpwdgrp/initgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c index f86b5a8..ce63adb 100644 --- a/libpwdgrp/initgroups.c +++ b/libpwdgrp/initgroups.c @@ -79,7 +79,7 @@ int initgroups(__const char *user, gid_t gid) int grp_fd; - if ((grp_fd = open("/etc/group", O_RDONLY)) < 0) + if ((grp_fd = open(bb_path_group_file, O_RDONLY)) < 0) return -1; num_groups = 0; |