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/pwent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpwdgrp/pwent.c') diff --git a/libpwdgrp/pwent.c b/libpwdgrp/pwent.c index 4a80093e8..f7f8581f3 100644 --- a/libpwdgrp/pwent.c +++ b/libpwdgrp/pwent.c @@ -40,7 +40,7 @@ void setpwent(void) if (pw_fd != -1) close(pw_fd); - pw_fd = open("/etc/passwd", O_RDONLY); + pw_fd = open(bb_path_passwd_file, O_RDONLY); } void endpwent(void) -- cgit v1.2.3