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

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Aug 9 23:33:46 UTC 2008


Author: nekral-guest
Date: 2008-08-09 23:33:46 +0000 (Sat, 09 Aug 2008)
New Revision: 2263

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/groupmems.c
Log:
	* src/groupmems.c: Harmonize the unlock failure messages.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-08-09 23:33:26 UTC (rev 2262)
+++ upstream/trunk/ChangeLog	2008-08-09 23:33:46 UTC (rev 2263)
@@ -1,3 +1,7 @@
+2008-08-09  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* src/groupmems.c: Harmonize the unlock failure messages.
+
 2008-08-07  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* src/pwck.c: Added fail_exit().

Modified: upstream/trunk/src/groupmems.c
===================================================================
--- upstream/trunk/src/groupmems.c	2008-08-09 23:33:26 UTC (rev 2262)
+++ upstream/trunk/src/groupmems.c	2008-08-09 23:33:46 UTC (rev 2263)
@@ -208,7 +208,7 @@
 	if (group_locked) {
 		if (gr_unlock () == 0) {
 			fprintf (stderr,
-			         _("%s: cannot unlock %s\n"),
+			         _("%s: failed to unlock %s\n"),
 			         Prog, gr_dbname ());
 			SYSLOG ((LOG_ERR, "failed to unlock %s", gr_dbname ()));
 			/* continue */
@@ -305,7 +305,7 @@
 		fail_exit (EXIT_GROUP_FILE);
 	}
 	if (gr_unlock () == 0) {
-		fprintf (stderr, _("%s: cannot unlock %s\n"), Prog, gr_dbname ());
+		fprintf (stderr, _("%s: failed to unlock %s\n"), Prog, gr_dbname ());
 		SYSLOG ((LOG_ERR, "failed to unlock %s", gr_dbname ()));
 		/* continue */
 	}




More information about the Pkg-shadow-commits mailing list