Argh!! Got the arguments in the printf() backwards.

This commit is contained in:
Bill Paul 1995-06-24 18:12:17 +00:00
parent 1724847d45
commit 14eb79c475
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9301

View file

@ -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),