summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-26 13:31:22 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-26 13:31:22 +0000
commit090ab3b4b31762212aa8f9d421a77596563e28df (patch)
treeec7a33697ef6ea502ee060140b4d0e43ce3232cb /usr.sbin
parent8386a30ed2d090d05bfa3bbd0b662612db18aefc (diff)
KNF
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hoststated/parse.y14
-rw-r--r--usr.sbin/relayd/parse.y14
2 files changed, 14 insertions, 14 deletions
diff --git a/usr.sbin/hoststated/parse.y b/usr.sbin/hoststated/parse.y
index 4450e8c1c08..b68c2df7981 100644
--- a/usr.sbin/hoststated/parse.y
+++ b/usr.sbin/hoststated/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.28 2007/02/26 13:03:30 pyr Exp $ */
+/* $OpenBSD: parse.y,v 1.29 2007/02/26 13:31:21 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -498,8 +498,8 @@ tableoptsl : host {
}
free($2);
if (carp_demote_init(table->demote_group, 1) == -1) {
- yyerror("yyparse: error initializing group '%s'",
- table->demote_group);
+ yyerror("yyparse: error initializing group "
+ "'%s'", table->demote_group);
YYERROR;
}
}
@@ -847,8 +847,8 @@ relayoptsl : LISTEN ON STRING port sslserv {
struct address *h;
if (rlay->dstss.ss_family != AF_UNSPEC) {
- yyerror("relay %s target or service already specified",
- rlay->name);
+ yyerror("relay %s target or service already "
+ "specified", rlay->name);
free($3);
YYERROR;
}
@@ -869,8 +869,8 @@ relayoptsl : LISTEN ON STRING port sslserv {
struct address *h;
if (rlay->dstss.ss_family != AF_UNSPEC) {
- yyerror("relay %s target or service already specified",
- rlay->name);
+ yyerror("relay %s target or service already "
+ "specified", rlay->name);
free($2);
YYERROR;
}
diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y
index 4450e8c1c08..b68c2df7981 100644
--- a/usr.sbin/relayd/parse.y
+++ b/usr.sbin/relayd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.28 2007/02/26 13:03:30 pyr Exp $ */
+/* $OpenBSD: parse.y,v 1.29 2007/02/26 13:31:21 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -498,8 +498,8 @@ tableoptsl : host {
}
free($2);
if (carp_demote_init(table->demote_group, 1) == -1) {
- yyerror("yyparse: error initializing group '%s'",
- table->demote_group);
+ yyerror("yyparse: error initializing group "
+ "'%s'", table->demote_group);
YYERROR;
}
}
@@ -847,8 +847,8 @@ relayoptsl : LISTEN ON STRING port sslserv {
struct address *h;
if (rlay->dstss.ss_family != AF_UNSPEC) {
- yyerror("relay %s target or service already specified",
- rlay->name);
+ yyerror("relay %s target or service already "
+ "specified", rlay->name);
free($3);
YYERROR;
}
@@ -869,8 +869,8 @@ relayoptsl : LISTEN ON STRING port sslserv {
struct address *h;
if (rlay->dstss.ss_family != AF_UNSPEC) {
- yyerror("relay %s target or service already specified",
- rlay->name);
+ yyerror("relay %s target or service already "
+ "specified", rlay->name);
free($2);
YYERROR;
}