Minor warning/error cleanup

This commit is contained in:
Todd C. Miller
2011-05-18 13:44:36 -04:00
parent 0954a1b1c0
commit 42a3966a88
7 changed files with 14 additions and 13 deletions

View File

@@ -240,9 +240,9 @@ cleanup:
flags = 0;
else
flags = NO_MAIL;
log_error(flags, _("%d incorrect password attempt%s"),
def_passwd_tries - counter,
(def_passwd_tries - counter == 1) ? "" : "s");
log_error(flags, ngettext("%d incorrect password attempt",
"%d incorrect password attempts",
def_passwd_tries - counter), def_passwd_tries - counter);
}
audit_failure(NewArgv, "authentication failure");
rval = FALSE;