Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libpwdgrp/getpwnam.c')
-rw-r--r--libpwdgrp/getpwnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/getpwnam.c b/libpwdgrp/getpwnam.c
index 524fa09be..013f155bc 100644
--- a/libpwdgrp/getpwnam.c
+++ b/libpwdgrp/getpwnam.c
@@ -37,7 +37,7 @@ struct passwd *getpwnam(const char *name)
return NULL;
}
- if ((passwd_fd = open("/etc/passwd", O_RDONLY)) < 0)
+ if ((passwd_fd = open(bb_path_passwd_file, O_RDONLY)) < 0)
return NULL;
while ((passwd = __getpwent(passwd_fd)) != NULL)