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

List:       busybox
Subject:    [BusyBox] Passwd.c
From:       Sander Klein <s.klein () quicknet ! nl>
Date:       2002-06-30 12:54:05
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


Hi,

I've made a little cosmetic change to passwd.c (CVS 20020628). The text
wasn't aligned very good and this was annoying me :-)

Greets,

Sander



["passwd.c.patch" (passwd.c.patch)]

diff -Nru loginutils-orig/passwd.c loginutils-edit/passwd.c
--- loginutils-orig/passwd.c	Sun Jun 23 06:24:24 2002
+++ loginutils-edit/passwd.c	Sun Jun 30 16:33:38 2002
@@ -245,8 +245,7 @@
 			   myname);
 		printf("Password changed.\n");
 	} else {
-		syslog(LOG_WARNING,
-			   "an error occurred updating the password file");
+		syslog(LOG_WARNING, "an error occurred updating the password file");
 		error_msg_and_die("An error occurred updating the password file.\n");
 	}
 	return (0);
@@ -359,8 +358,9 @@
 	}
 	if (!
 		(cp =
-		 getpass ("Enter the new password (minimum of 5, maximum of 8 characters)\n""
-			 Please use a combination of upper and lower case letters and numbers.\nEnter new password: ")))
+		 getpass ("Enter the new password (minimum of 5, maximum of 8 characters)\n"
+			  "Please use a combination of upper and lower case letters and numbers.\n"
+			  "Enter new password: ")))
 	{
 		bzero(orig, sizeof orig);
 		/* return -1; */

["signature.asc" (application/pgp-signature)]

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

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