diff options
author | imp <imp@FreeBSD.org> | 2002-08-21 19:01:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-08-21 19:01:50 +0000 |
commit | be9b963545f5aecc4a49b9373d749b35fe72bef4 (patch) | |
tree | 1f23e60d606a5a6addbb52d48ede1e55855cf7c6 /usr.sbin/vipw | |
parent | 398442e99cb13b443e612970ec49092016d0d432 (diff) | |
download | FreeBSD-src-be9b963545f5aecc4a49b9373d749b35fe72bef4.zip FreeBSD-src-be9b963545f5aecc4a49b9373d749b35fe72bef4.tar.gz |
Don't use NULL when we really mean 0 for call to pw_edit.
Diffstat (limited to 'usr.sbin/vipw')
-rw-r--r-- | usr.sbin/vipw/vipw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c index 5914b62..221de13 100644 --- a/usr.sbin/vipw/vipw.c +++ b/usr.sbin/vipw/vipw.c @@ -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()"); |