* src/login.c: Reuse a string and avoid an untranslated message

"Login incorrect".
This commit is contained in:
nekral-guest 2009-04-27 20:21:48 +00:00
parent 8112a12521
commit 009125484e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Reuse a string and avoid an untranslated message
"Login incorrect".
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.

View File

@ -827,7 +827,8 @@ int main (int argc, char **argv)
close (audit_fd);
#endif /* WITH_AUDIT */
fprintf (stderr, "\nLogin incorrect\n");
(void) puts ("");
(void) puts (_("Login incorrect"));
if (failcount >= retries) {
SYSLOG ((LOG_NOTICE,