summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/passwd/local_passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c
index 7ea907b..0cbafeb 100644
--- a/usr.bin/passwd/local_passwd.c
+++ b/usr.bin/passwd/local_passwd.c
@@ -82,8 +82,8 @@ getnewpasswd(pw, nis)
char buf[_PASSWORD_LEN+1], salt[9];
struct timeval tv;
- (void)printf("Changing %s password for %s.\n", pw->pw_name,
- nis ? "YP" : "local");
+ (void)printf("Changing %s password for %s.\n", nis ? "YP" : "local",
+ pw->pw_name);
if (uid && pw->pw_passwd[0] &&
strcmp(crypt(getpass("Old password:"), pw->pw_passwd),
OpenPOWER on IntegriCloud