diff options
author | Drew DeVault <[email protected]> | 2018-07-09 16:28:37 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2018-07-09 16:28:37 -0700 |
commit | 6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107 (patch) | |
tree | 7d89592bcfb1adc10ded38d2f8d09d134ddd34fe /swaylock/password.c | |
parent | b755639ca8ac2c7d62dc25bbe8cc8b93d775ccde (diff) | |
parent | fbeef1322f5d10c1e2dac0d7de2358a59f442455 (diff) |
Merge branch 'master' into focus-mode-toggle
Diffstat (limited to 'swaylock/password.c')
-rw-r--r-- | swaylock/password.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swaylock/password.c b/swaylock/password.c index d844ec98..7c6fd67b 100644 --- a/swaylock/password.c +++ b/swaylock/password.c @@ -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); |