From ef73d3b5d9e9d5124b7c16bd77097fae3f200616 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 26 Jul 2003 07:48:13 +0000 Subject: Patch from Nick Fedchik to fixup paths in busybox/libpwdgrp which were not properly using the bb_path_*_file strings. --- libpwdgrp/initgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpwdgrp/initgroups.c') diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c index f86b5a8f4..ce63adb18 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; -- cgit v1.2.3