aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp/grent.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-26 07:48:13 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-26 07:48:13 +0000
commitef73d3b5d9e9d5124b7c16bd77097fae3f200616 (patch)
treeac5a3d543cdd164a4aa2839abcfeb662de018a0d /libpwdgrp/grent.c
parent7d72e796d6362872fe0075f936589bba23124344 (diff)
downloadbusybox-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/grent.c')
-rw-r--r--libpwdgrp/grent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/grent.c b/libpwdgrp/grent.c
index df9195599..609ed1a46 100644
--- a/libpwdgrp/grent.c
+++ b/libpwdgrp/grent.c
@@ -36,7 +36,7 @@ void setgrent(void)
{
if (grp_fd != -1)
close(grp_fd);
- grp_fd = open("/etc/group", O_RDONLY);
+ grp_fd = open(bb_path_group_file, O_RDONLY);
}
void endgrent(void)