aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2018-05-31 12:34:40 +0100
committerAlastair Poole <netstar@gmail.com>2018-05-31 12:34:40 +0100
commit6a1f91ae0ba848fa42297805196ec75ac2d74c90 (patch)
tree88bc60d86403dd4185cea521078db5ce0b6bdfd9
parent22.3 NEWS (diff)
downloadenlightenment-6a1f91ae0ba848fa42297805196ec75ac2d74c90.tar.gz
e_ckpasswd_main: Fix build on OpenBSD.
-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 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);
}