From 14eb79c475a018cc0adcda576307adbec3d315bd Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Sat, 24 Jun 1995 18:12:17 +0000 Subject: [PATCH] Argh!! Got the arguments in the printf() backwards. --- usr.bin/passwd/local_passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c index 7ea907bb26e..0cbafeb8799 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),