summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-08-16 18:39:20 +0000
committermillert <millert@openbsd.org>2001-08-16 18:39:20 +0000
commitf5c6925038d262b51809e4af2b8d7f03ffe30a8d (patch)
tree87c23498b0fb2d879d0828dc4a0d838d485135b6
parentconsistently use #include "util.h" not <util.h> since util.h lives in this dir. (diff)
downloadwireguard-openbsd-f5c6925038d262b51809e4af2b8d7f03ffe30a8d.tar.xz
wireguard-openbsd-f5c6925038d262b51809e4af2b8d7f03ffe30a8d.zip
2nd arg to pw_mkdb()
-rw-r--r--lib/libutil/check_expire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/check_expire.c b/lib/libutil/check_expire.c
index 5ff06063042..f5689c8b2b9 100644
--- a/lib/libutil/check_expire.c
+++ b/lib/libutil/check_expire.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: check_expire.c,v 1.2 2001/08/16 18:34:40 millert Exp $ */
+/* $OpenBSD: check_expire.c,v 1.3 2001/08/16 18:39:20 millert Exp $ */
/*
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@@ -182,7 +182,7 @@ pwd_update(pwd)
}
pw_copy(pfd, tfd, pwd);
- if (pw_mkdb(pwd->pw_name) < 0) {
+ if (pw_mkdb(pwd->pw_name, 0) < 0) {
pw_abort();
return("unable to update password database");
}