summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r--usr.bin/passwd/yp_passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/passwd/yp_passwd.c b/usr.bin/passwd/yp_passwd.c
index fb39c76..16a4a13 100644
--- a/usr.bin/passwd/yp_passwd.c
+++ b/usr.bin/passwd/yp_passwd.c
@@ -50,7 +50,7 @@
#include <err.h>
#include "yppasswd_private.h"
-extern char *getnewpasswd __P(( struct passwd * , int ));
+extern char *getnewpasswd(struct passwd *, int);
int
yp_passwd(char *user)
@@ -130,7 +130,7 @@ for other users");
/* Get old password */
- if(pw->pw_passwd[0] && !suser_override) {
+ if (pw->pw_passwd[0] && !suser_override) {
yppasswd.oldpass = strdup(getpass("Old Password: "));
if (strcmp(crypt(yppasswd.oldpass, pw->pw_passwd),
pw->pw_passwd)) {
@@ -193,7 +193,7 @@ for other users");
clnt_destroy(clnt);
if (err.re_status != RPC_SUCCESS || status == NULL || *status) {
- errx(1, "failed to change NIS password: %s",
+ errx(1, "failed to change NIS password: %s",
clnt_sperrno(err.re_status));
}
OpenPOWER on IntegriCloud