Don't use NULL when we really mean 0 for call to pw_edit.

This commit is contained in:
Warner Losh 2002-08-21 19:01:50 +00:00
parent 0b0fe61dfb
commit 24a45ad202
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102234

View File

@ -105,7 +105,7 @@ main(int argc, char *argv[])
(void)umask(077);
for (;;) {
switch (pw_edit(NULL)) {
switch (pw_edit(0)) {
case -1:
pw_fini();
err(1, "pw_edit()");