#define check_selinux_update_passwd(username) ((void)0)
#endif
-int update_passwd(const char *filename, const char *username,
+int FAST_FUNC update_passwd(const char *filename, const char *username,
const char *new_pw)
{
struct stat sb;
int cnt = 0;
int ret = -1; /* failure */
- filename = xmalloc_readlink_follow(filename);
+ filename = xmalloc_follow_symlinks(filename);
if (filename == NULL)
return -1;