commit | ef73d3b5d9e9d5124b7c16bd77097fae3f200616 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Sat Jul 26 07:48:13 2003 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Sat Jul 26 07:48:13 2003 +0000 |
tree | ac5a3d543cdd164a4aa2839abcfeb662de018a0d | |
parent | 7d72e796d6362872fe0075f936589bba23124344 [diff] [blame] |
Patch from Nick Fedchik to fixup paths in busybox/libpwdgrp which were not properly using the bb_path_*_file strings.
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 *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)