ckpasswd: fix build on OpenBSD (typo)

This commit is contained in:
Al Poole 2018-03-09 16:37:04 +00:00
parent eee5853dac
commit f72aa5671d
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ _check_auth(uid_t uid, const char *guess)
if (!pwent) return -1;
if (!pwent->pw_passwd) return -1;
return crypt_checkpass(guess, pw_ent->pw_passwd);
return crypt_checkpass(guess, pwent->pw_passwd);
}