mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
Argh!! Got the arguments in the printf() backwards.
This commit is contained in:
parent
1724847d45
commit
14eb79c475
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9301
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue