mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Fix typo (missing comma) that caused an incorrect number of args
to be passed to log_error().
This commit is contained in:
@@ -125,7 +125,7 @@ pam_verify(pw, prompt, auth)
|
|||||||
*pam_status);
|
*pam_status);
|
||||||
return(AUTH_FAILURE);
|
return(AUTH_FAILURE);
|
||||||
case PAM_NEW_AUTHTOK_REQD:
|
case PAM_NEW_AUTHTOK_REQD:
|
||||||
log_error(NO_EXIT|NO_MAIL, "%s, %s"
|
log_error(NO_EXIT|NO_MAIL, "%s, %s",
|
||||||
"Account or password is expired",
|
"Account or password is expired",
|
||||||
"reset your password and try again");
|
"reset your password and try again");
|
||||||
*pam_status = pam_chauthtok(pamh, PAM_CHANGE_EXPIRED_AUTHTOK);
|
*pam_status = pam_chauthtok(pamh, PAM_CHANGE_EXPIRED_AUTHTOK);
|
||||||
@@ -135,7 +135,7 @@ pam_verify(pw, prompt, auth)
|
|||||||
log_error(NO_EXIT|NO_MAIL, "pam_chauthtok: %s",s);
|
log_error(NO_EXIT|NO_MAIL, "pam_chauthtok: %s",s);
|
||||||
return(AUTH_FAILURE);
|
return(AUTH_FAILURE);
|
||||||
case PAM_ACCT_EXPIRED:
|
case PAM_ACCT_EXPIRED:
|
||||||
log_error(NO_EXIT|NO_MAIL, "%s, %s"
|
log_error(NO_EXIT|NO_MAIL, "%s, %s",
|
||||||
"Account or password is expired",
|
"Account or password is expired",
|
||||||
"contact your system administrator");
|
"contact your system administrator");
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
|
Reference in New Issue
Block a user