forked from enlightenment/enlightenment
ckpasswd: fix build on OpenBSD (typo)
This commit is contained in:
parent
eee5853dac
commit
f72aa5671d
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue