summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sasyncd/conf.y
diff options
context:
space:
mode:
authormoritz <moritz@openbsd.org>2006-06-02 20:31:48 +0000
committermoritz <moritz@openbsd.org>2006-06-02 20:31:48 +0000
commited520302a621a8ce9d0e734b18dda8ee682d09a7 (patch)
tree15c2220f73e4e90fc86b49150366adbdea38b27c /usr.sbin/sasyncd/conf.y
parentAdd a clonable devices implementation. Hacked along with thib@, input (diff)
downloadwireguard-openbsd-ed520302a621a8ce9d0e734b18dda8ee682d09a7.tar.xz
wireguard-openbsd-ed520302a621a8ce9d0e734b18dda8ee682d09a7.zip
whitespace cleanup, no binary change.
Diffstat (limited to 'usr.sbin/sasyncd/conf.y')
-rw-r--r--usr.sbin/sasyncd/conf.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sasyncd/conf.y b/usr.sbin/sasyncd/conf.y
index b8d6de3a418..e958d001011 100644
--- a/usr.sbin/sasyncd/conf.y
+++ b/usr.sbin/sasyncd/conf.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.y,v 1.10 2006/06/02 20:09:43 mcbride Exp $ */
+/* $OpenBSD: conf.y,v 1.11 2006/06/02 20:31:48 moritz Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -59,7 +59,7 @@ void yyerror(const char *);
%token MODE INTERFACE INTERVAL LISTEN ON PORT PEER SHAREDKEY
%token Y_SLAVE Y_MASTER INET INET6 FLUSHMODE STARTUP NEVER SYNC
-%token GROUP SKIPSLAVE
+%token GROUP SKIPSLAVE
%token <string> STRING
%token <val> VALUE
%type <val> af port mode flushmode
@@ -230,7 +230,7 @@ match(char *token)
}
int
-yylex(void)
+yylex(void)
{
char *p;
int v;
@@ -284,7 +284,7 @@ conf_parse_file(char *cfgfile)
if ((st.st_uid && st.st_uid != pw->pw_uid) ||
((st.st_mode & S_IFMT) != S_IFREG) ||
((st.st_mode & (S_IRWXG | S_IRWXO)) != 0)) {
- log_msg(0, "configuration file has bad owner, type or mode");
+ log_msg(0, "configuration file has bad owner, type or mode");
goto bad;
}