diff options
author | Eric Andersen | 2003-07-26 07:48:13 +0000 |
---|---|---|
committer | Eric Andersen | 2003-07-26 07:48:13 +0000 |
commit | ef73d3b5d9e9d5124b7c16bd77097fae3f200616 (patch) | |
tree | ac5a3d543cdd164a4aa2839abcfeb662de018a0d /libpwdgrp/initgroups.c | |
parent | 7d72e796d6362872fe0075f936589bba23124344 (diff) | |
download | busybox-ef73d3b5d9e9d5124b7c16bd77097fae3f200616.zip busybox-ef73d3b5d9e9d5124b7c16bd77097fae3f200616.tar.gz |
Patch from Nick Fedchik to fixup paths in busybox/libpwdgrp
which were not properly using the bb_path_*_file strings.
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; |