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

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Tue Oct 18 20:13:39 UTC 2011


Author: nekral-guest
Date: 2011-10-18 20:13:37 +0000 (Tue, 18 Oct 2011)
New Revision: 3518

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/newusers.c
   upstream/trunk/src/useradd.c
Log:
	* src/newusers.c: Fix typo.
	* src/useradd.c: Likewise.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2011-10-16 16:15:04 UTC (rev 3517)
+++ upstream/trunk/ChangeLog	2011-10-18 20:13:37 UTC (rev 3518)
@@ -1,3 +1,8 @@
+2011-10-18  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* src/newusers.c: Fix typo.
+	* src/useradd.c: Likewise.
+
 2011-10-15  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* man/login.defs.d/LOGIN_STRING.xml: Fix typo.

Modified: upstream/trunk/src/newusers.c
===================================================================
--- upstream/trunk/src/newusers.c	2011-10-16 16:15:04 UTC (rev 3517)
+++ upstream/trunk/src/newusers.c	2011-10-18 20:13:37 UTC (rev 3518)
@@ -891,7 +891,7 @@
 		if (nfields != 6) {
 			fprintf (stderr, _("%s: line %d: invalid line\n"),
 			         Prog, line);
-			errors++
+			errors++;
 			continue;
 		}
 

Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c	2011-10-16 16:15:04 UTC (rev 3517)
+++ upstream/trunk/src/useradd.c	2011-10-18 20:13:37 UTC (rev 3518)
@@ -699,7 +699,7 @@
 	                  "       %s -D [options]\n"
 	                  "\n"
 	                  "Options:\n"),
-	                Prog);
+	                Prog, Prog, Prog);
 	(void) fputs (_("  -b, --base-dir BASE_DIR       base directory for the home directory of the\n"
 	                "                                new account\n"), usageout);
 	(void) fputs (_("  -c, --comment COMMENT         GECOS field of the new account\n"), usageout);




More information about the Pkg-shadow-commits mailing list