]> granicus.if.org Git - shadow/commitdiff
* src/login.c: Reuse a string and avoid an untranslated message
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 27 Apr 2009 20:21:48 +0000 (20:21 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 27 Apr 2009 20:21:48 +0000 (20:21 +0000)
"Login incorrect".

ChangeLog
src/login.c

index b167df3e2236b13f3496257ff5438960ddf281b4..7e82e26b85f6de04174eaf83df527a9259f1f5a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index dd8103e6fd6919f53f93baeecccd79e113c6bad6..e8eae79557d1df6caf9f4544546efa949b86e1db 100644 (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,