diff --git a/src/bin/e_ckpasswd_main.c b/src/bin/e_ckpasswd_main.c index 8b6479a1c..31b04e738 100644 --- a/src/bin/e_ckpasswd_main.c +++ b/src/bin/e_ckpasswd_main.c @@ -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); }