]> granicus.if.org Git - sudo/commitdiff
Fix typo (missing comma) that caused an incorrect number of args
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 5 Feb 2005 02:49:53 +0000 (02:49 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 5 Feb 2005 02:49:53 +0000 (02:49 +0000)
to be passed to log_error().

auth/pam.c

index c5d20800c7241c7e4c577985817aeb5bb9ee8ab1..85d8579114d114610f68255540122a325275c4ea 100644 (file)
@@ -125,7 +125,7 @@ pam_verify(pw, prompt, auth)
                        *pam_status);
                    return(AUTH_FAILURE);
                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",
                        "reset your password and try again");
                    *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);
                    return(AUTH_FAILURE);
                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",
                        "contact your system administrator");
                    /* FALLTHROUGH */