[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkg-shadow-commits
Subject:    [Pkg-shadow-commits] r2824 - in upstream/trunk: . src
From:       Nicolas_FRANÇOIS <nekral-guest () alioth ! debian ! org>
Date:       2009-04-27 20:21:48
Message-ID: E1LyXKn-0005wx-4G () alioth ! debian ! org
[Download RAW message or body]

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@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.
 	* 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,



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic