X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fupdate_passwd.c;h=d10e863c6c63de728e6c818e54993b5a4de3a4c7;hb=599bbfbd9be0073c262319a120174fad5a60113e;hp=e99db40c04b9b470c3005e6d7df679249d4f0088;hpb=53bd4015aa7ec79b8f45edd30555ea7b7235d7ca;p=oweals%2Fbusybox.git 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, int cnt = 0; int ret = -1; /* failure */ - filename = xmalloc_readlink_follow(filename); + filename = xmalloc_follow_symlinks(filename); if (filename == NULL) return -1;