diff options
| author | emersion <contact@emersion.fr> | 2018-07-09 22:54:30 +0100 |
|---|---|---|
| committer | emersion <contact@emersion.fr> | 2018-07-09 22:54:30 +0100 |
| commit | ecf5b656c918b6460b9676f2b25541b41ec14231 (patch) | |
| tree | 76a66c3367cd22d02964c58faddb6f41b4e8dbff /password.c | |
| parent | d4886a3cd5e33d672a95521c854754fd772d3757 (diff) | |
Update for swaywm/wlroots#1126
Diffstat (limited to 'password.c')
| -rw-r--r-- | password.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -53,15 +53,15 @@ static bool attempt_password(struct swaylock_password *pw) { // TODO: only call pam_start once. keep the same handle the whole time if ((pam_err = pam_start("swaylock", username, &local_conversation, &local_auth_handle)) != PAM_SUCCESS) { - wlr_log(L_ERROR, "PAM returned error %d", pam_err); + wlr_log(WLR_ERROR, "PAM returned error %d", pam_err); } if ((pam_err = pam_authenticate(local_auth_handle, 0)) != PAM_SUCCESS) { - wlr_log(L_ERROR, "pam_authenticate failed"); + wlr_log(WLR_ERROR, "pam_authenticate failed"); goto fail; } // TODO: only call pam_end once we succeed at authing. refresh tokens beforehand if ((pam_err = pam_end(local_auth_handle, pam_err)) != PAM_SUCCESS) { - wlr_log(L_ERROR, "pam_end failed"); + wlr_log(WLR_ERROR, "pam_end failed"); goto fail; } clear_password_buffer(pw); |
