[Pkg-shadow-commits] r2824 - in upstream/trunk: . src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Mon Apr 27 20:21:48 UTC 2009


Author: nekral-guest
Date: 2009-04-27 20:21:48 +0000 (Mon, 27 Apr 2009)
New Revision: 2824

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/login.c
Log:
	* src/login.c: Reuse a string and avoid an untranslated message
	"Login incorrect".


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-27 20:20:37 UTC (rev 2823)
+++ upstream/trunk/ChangeLog	2009-04-27 20:21:48 UTC (rev 2824)
@@ -1,5 +1,10 @@
 2009-04-27  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/login.c: Reuse a string and avoid an untranslated message
+	"Login incorrect".
+
+2009-04-27  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
 	* src/login.c: Avoid name clash between global variables and the
 	update_utmp() arguments.

Modified: upstream/trunk/src/login.c
===================================================================
--- upstream/trunk/src/login.c	2009-04-27 20:20:37 UTC (rev 2823)
+++ upstream/trunk/src/login.c	2009-04-27 20:21:48 UTC (rev 2824)
@@ -827,7 +827,8 @@
 			close (audit_fd);
 #endif				/* WITH_AUDIT */
 
-			fprintf (stderr, "\nLogin incorrect\n");
+			(void) puts ("");
+			(void) puts (_("Login incorrect"));
 
 			if (failcount >= retries) {
 				SYSLOG ((LOG_NOTICE,




More information about the Pkg-shadow-commits mailing list