summaryrefslogtreecommitdiff
path: root/libbb/update_passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/update_passwd.c')
-rw-r--r--libbb/update_passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/update_passwd.c b/libbb/update_passwd.c
index e99db40c0..d10e863c6 100644
--- a/libbb/update_passwd.c
+++ b/libbb/update_passwd.c
@@ -52,7 +52,7 @@ int update_passwd(const char *filename, const char *username,
52 int cnt = 0; 52 int cnt = 0;
53 int ret = -1; /* failure */ 53 int ret = -1; /* failure */
54 54
55 filename = xmalloc_readlink_follow(filename); 55 filename = xmalloc_follow_symlinks(filename);
56 if (filename == NULL) 56 if (filename == NULL)
57 return -1; 57 return -1;
58 58