Don't use NULL when we really mean 0 for call to pw_edit.
This commit is contained in:
parent
0b0fe61dfb
commit
24a45ad202
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102234
@ -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()");
|
||||
|
Loading…
Reference in New Issue
Block a user