[Pkg-shadow-commits] r2002 - in upstream/trunk: . libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Fri May 23 20:55:12 UTC 2008


Author: nekral-guest
Date: 2008-05-23 20:55:11 +0000 (Fri, 23 May 2008)
New Revision: 2002

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/pam_pass.c
Log:
Use fputs rather than fprintf for constant strings.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-05-23 20:47:45 UTC (rev 2001)
+++ upstream/trunk/ChangeLog	2008-05-23 20:55:11 UTC (rev 2002)
@@ -1,3 +1,8 @@
+2008-05-23  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* libmisc/pam_pass.c: Use fputs rather than fprintf for constant
+	strings.
+
 2008-05-21  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* man/login.1.xml: Indicate that login should be executed with

Modified: upstream/trunk/libmisc/pam_pass.c
===================================================================
--- upstream/trunk/libmisc/pam_pass.c	2008-05-23 20:47:45 UTC (rev 2001)
+++ upstream/trunk/libmisc/pam_pass.c	2008-05-23 20:55:11 UTC (rev 2002)
@@ -70,7 +70,7 @@
 	ret = pam_chauthtok (pamh, flags);
 	if (ret != PAM_SUCCESS) {
 		fprintf (stderr, _("passwd: %s\n"), pam_strerror (pamh, ret));
-		fprintf (stderr, _("passwd: password unchanged\n"));
+		fputs (_("passwd: password unchanged\n"), stderr);
 		pam_end (pamh, ret);
 		exit (10);	/* XXX */
 	}




More information about the Pkg-shadow-commits mailing list