diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-07-03 04:54:52 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-07-03 04:54:52 +0000 |
commit | 549df2ebc387b84914417b3f3742105f09f39130 (patch) | |
tree | 2279899b43caeb3b038fb57c96ee1f90c9257649 | |
parent | 7234c3a0b6e95e0a3c2d907674dedfe930d491e0 (diff) | |
download | busybox-w32-549df2ebc387b84914417b3f3742105f09f39130.tar.gz busybox-w32-549df2ebc387b84914417b3f3742105f09f39130.tar.bz2 busybox-w32-549df2ebc387b84914417b3f3742105f09f39130.zip |
Fix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>
-rw-r--r-- | loginutils/passwd.c | 10 |
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) | |||
245 | myname); | 245 | myname); |
246 | printf("Password changed.\n"); | 246 | printf("Password changed.\n"); |
247 | } else { | 247 | } else { |
248 | syslog(LOG_WARNING, | 248 | syslog(LOG_WARNING, "an error occurred updating the password file"); |
249 | "an error occurred updating the password file"); | ||
250 | error_msg_and_die("An error occurred updating the password file.\n"); | 249 | error_msg_and_die("An error occurred updating the password file.\n"); |
251 | } | 250 | } |
252 | return (0); | 251 | return (0); |
@@ -357,10 +356,9 @@ static int new_password(const struct passwd *pw, int amroot, int algo) | |||
357 | } else { | 356 | } else { |
358 | orig[0] = '\0'; | 357 | orig[0] = '\0'; |
359 | } | 358 | } |
360 | if (! | 359 | if (! (cp=getpass("Enter the new password (minimum of 5, maximum of 8 characters)\n" |
361 | (cp = | 360 | "Please use a combination of upper and lower case letters and numbers.\n" |
362 | getpass ("Enter the new password (minimum of 5, maximum of 8 characters)\n"" | 361 | "Enter new password: "))) |
363 | Please use a combination of upper and lower case letters and numbers.\nEnter new password: "))) | ||
364 | { | 362 | { |
365 | bzero(orig, sizeof orig); | 363 | bzero(orig, sizeof orig); |
366 | /* return -1; */ | 364 | /* return -1; */ |