summaryrefslogtreecommitdiff
path: root/usr.sbin/vipw/vipw.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-11-26 01:29:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-11-26 01:29:44 +0000
commit0833960ec5375df11695c85f9ee7ac29a2001cbf (patch)
tree6e5bd2c214a08ac12099061f8baa8c99002dc7e5 /usr.sbin/vipw/vipw.c
parent19054405341f0d0f83f6550fada15989c0fea2df (diff)
Update for pw_mkdb(3) interface change. All but vipw and userdel can
specify a username (and thus avoid rebuilding the while database).
Diffstat (limited to 'usr.sbin/vipw/vipw.c')
-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 dfcb22c6444..aa7c27ab39f 100644
--- a/usr.sbin/vipw/vipw.c
+++ b/usr.sbin/vipw/vipw.c
@@ -101,7 +101,7 @@ main(argc, argv)
warnx("no changes made");
pw_error((char *)NULL, 0, 0);
}
- if (pw_mkdb() == 0)
+ if (pw_mkdb(NULL) == 0)
break;
pw_prompt();
}