mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Argh!! Got the arguments in the printf() backwards.
This commit is contained in:
parent
1724847d45
commit
14eb79c475
1 changed files with 2 additions and 2 deletions
|
|
@ -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