aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-08-21 19:01:50 +0000
committerWarner Losh <imp@FreeBSD.org>2002-08-21 19:01:50 +0000
commit24a45ad20229b1039b7855a66be0ab7eab12cae3 (patch)
tree1f23e60d606a5a6addbb52d48ede1e55855cf7c6
parent0b0fe61dfb00fe4d807cfa7dcfb00fe0e92b95af (diff)
downloadsrc-24a45ad20229b1039b7855a66be0ab7eab12cae3.tar.gz
src-24a45ad20229b1039b7855a66be0ab7eab12cae3.zip
Don't use NULL when we really mean 0 for call to pw_edit.
Notes
Notes: svn path=/head/; revision=102234
-rw-r--r--usr.sbin/vipw/vipw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c
index 5914b62a792f..221de134e6de 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()");