[Pkg-shadow-commits] r1542 - upstream/trunk/src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Fri Dec 28 22:30:03 UTC 2007


Author: nekral-guest
Date: 2007-12-28 22:30:02 +0000 (Fri, 28 Dec 2007)
New Revision: 1542

Modified:
   upstream/trunk/src/chpasswd.c
Log:
Re-indent.


Modified: upstream/trunk/src/chpasswd.c
===================================================================
--- upstream/trunk/src/chpasswd.c	2007-12-28 22:24:02 UTC (rev 1541)
+++ upstream/trunk/src/chpasswd.c	2007-12-28 22:30:02 UTC (rev 1542)
@@ -268,13 +268,13 @@
 	if (is_shadow_pwd) {
 		if (!spw_lock ()) {
 			fprintf (stderr, _("%s: can't lock shadow file\n"),
-				 Prog);
+			         Prog);
 			pw_unlock ();
 			exit (1);
 		}
 		if (!spw_open (O_RDWR)) {
 			fprintf (stderr, _("%s: can't open shadow file\n"),
-				 Prog);
+			         Prog);
 			pw_unlock ();
 			spw_unlock ();
 			exit (1);
@@ -290,7 +290,7 @@
 	if (is_shadow_pwd) {
 		if (!spw_close ()) {
 			fprintf (stderr,
-				 _("%s: error updating shadow file\n"), Prog);
+			         _("%s: error updating shadow file\n"), Prog);
 			pw_unlock ();
 			exit (1);
 		}
@@ -351,7 +351,7 @@
 			*cp = '\0';
 		} else {
 			fprintf (stderr, _("%s: line %d: line too long\n"),
-				 Prog, line);
+			         Prog, line);
 			errors++;
 			continue;
 		}
@@ -372,8 +372,8 @@
 			cp++;
 		} else {
 			fprintf (stderr,
-				 _("%s: line %d: missing new password\n"),
-				 Prog, line);
+			         _("%s: line %d: missing new password\n"),
+			         Prog, line);
 			errors++;
 			continue;
 		}
@@ -400,8 +400,8 @@
 		pw = pw_locate (name);
 		if (!pw) {
 			fprintf (stderr,
-				 _("%s: line %d: unknown user %s\n"), Prog,
-				 line, name);
+			         _("%s: line %d: unknown user %s\n"), Prog,
+			         line, name);
 			errors++;
 			continue;
 		}
@@ -436,9 +436,9 @@
 
 		if (!ok) {
 			fprintf (stderr,
-				 _
-				 ("%s: line %d: cannot update password entry\n"),
-				 Prog, line);
+			         _
+			         ("%s: line %d: cannot update password entry\n"),
+			         Prog, line);
 			errors++;
 			continue;
 		}
@@ -453,7 +453,7 @@
 	 */
 	if (errors) {
 		fprintf (stderr,
-			 _("%s: error detected, changes ignored\n"), Prog);
+		         _("%s: error detected, changes ignored\n"), Prog);
 		if (is_shadow_pwd)
 			spw_unlock ();
 		pw_unlock ();
@@ -470,3 +470,4 @@
 
 	return (0);
 }
+




More information about the Pkg-shadow-commits mailing list