summaryrefslogtreecommitdiffhomepage
path: root/libpwdgrp/pwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpwdgrp/pwent.c')
-rw-r--r--libpwdgrp/pwent.c2
1 files changed, 1 insertions, 1 deletions
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)