summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2018-03-09 16:37:04 +0000
committerAl Poole <netstar@gmail.com>2018-03-09 16:37:04 +0000
commitf72aa5671d410f4514e17d485783f88af0015433 (patch)
treebf68d9c838af3855e257612898174035de8e589d
parenteee5853dac52b9d4eaecb38b7d00ebea707c63cb (diff)
downloadenlightenment-f72aa5671d410f4514e17d485783f88af0015433.tar.gz
ckpasswd: fix build on OpenBSD (typo)
-rw-r--r--src/bin/e_ckpasswd_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_ckpasswd_main.c b/src/bin/e_ckpasswd_main.c
index 8b6479a1c5..31b04e7385 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);
}