aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-03 04:54:52 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-03 04:54:52 +0000
commit549df2ebc387b84914417b3f3742105f09f39130 (patch)
tree2279899b43caeb3b038fb57c96ee1f90c9257649 /loginutils
parent7234c3a0b6e95e0a3c2d907674dedfe930d491e0 (diff)
downloadbusybox-549df2ebc387b84914417b3f3742105f09f39130.tar.gz
Fix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/passwd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 9c84c167c..079791c4c 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -245,8 +245,7 @@ extern int passwd_main(int argc, char **argv)
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);
@@ -357,10 +356,9 @@ static int new_password(const struct passwd *pw, int amroot, int algo)
} else {
orig[0] = '\0';
}
- 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: ")))
+ 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.\n"
+ "Enter new password: ")))
{
bzero(orig, sizeof orig);
/* return -1; */