ckpasswd: fix build on OpenBSD (typo)

feature/wayland/multi-output
Al Poole 5 years ago
parent eee5853dac
commit f72aa5671d
  1. 2
      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);
}

Loading…
Cancel
Save