aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@openbsd.org>2015-07-26 22:44:33 +0000
committerTed Unangst <tedu@openbsd.org>2015-07-26 22:44:33 +0000
commit0743020852c6f3b04adb4464007093eda8454439 (patch)
tree3e6cef09a44863af6f2b12bcbfcfff0c2edefb1f
parent0697c3f0aabce204786241c6f2e6e217d06d66d7 (diff)
downloadopendoas-0743020852c6f3b04adb4464007093eda8454439.tar.gz
checkconfig doesn't return anymore, noted by zhuk
-rw-r--r--doas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doas.c b/doas.c
index 93b79c7..12c6530 100644
--- a/doas.c
+++ b/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.25 2015/07/26 19:49:11 zhuk Exp $ */
+/* $OpenBSD: doas.c,v 1.26 2015/07/26 20:47:01 espie Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -282,7 +282,7 @@ fail(void)
exit(1);
}
-static int
+static void __dead
checkconfig(const char *confpath, int argc, char **argv,
uid_t uid, gid_t *groups, int ngroups, uid_t target)
{