diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-06-24 18:12:17 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-06-24 18:12:17 +0000 |
commit | 3bc1cf60fd5d28f6b3e67eb18d378de7ae6f64fa (patch) | |
tree | bbbfc468fee5d5dbb7f9c8ec37125b462b8d423d /usr.bin/passwd | |
parent | 87254380ba02677b45895472eb8a49f84242fdc1 (diff) | |
download | FreeBSD-src-3bc1cf60fd5d28f6b3e67eb18d378de7ae6f64fa.zip FreeBSD-src-3bc1cf60fd5d28f6b3e67eb18d378de7ae6f64fa.tar.gz |
Argh!! Got the arguments in the printf() backwards.
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r-- | usr.bin/passwd/local_passwd.c | 4 |
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), |