summaryrefslogtreecommitdiffstats
path: root/chpass/chpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/chpass.c')
-rw-r--r--chpass/chpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chpass/chpass.c b/chpass/chpass.c
index 77f9f78..69e700f 100644
--- a/chpass/chpass.c
+++ b/chpass/chpass.c
@@ -204,7 +204,7 @@ main(argc, argv)
if (uid)
baduser();
pw = &lpw;
- if (!pw_scan(arg, pw))
+ if (!__pw_scan(arg, pw, _PWSCAN_WARN|_PWSCAN_MASTER))
exit(1);
}
username = pw->pw_name;