summaryrefslogtreecommitdiff
path: root/usr.sbin/ifstated
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2005-02-07 12:41:54 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2005-02-07 12:41:54 +0000
commit97622f8be15bea33710bb1fc47c2af10447cb129 (patch)
treedddc69dae94f53782d4dc6bc0d272449a47cd1de /usr.sbin/ifstated
parent002a920cb52a317d91afd98ba96407a3ae059838 (diff)
Fix error message: set-state, not setstate.
Diffstat (limited to 'usr.sbin/ifstated')
-rw-r--r--usr.sbin/ifstated/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ifstated/parse.y b/usr.sbin/ifstated/parse.y
index 76f65bebdf8..42e2fd94f67 100644
--- a/usr.sbin/ifstated/parse.y
+++ b/usr.sbin/ifstated/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.8 2005/02/03 17:51:12 mpf Exp $ */
+/* $OpenBSD: parse.y,v 1.9 2005/02/07 12:41:53 mcbride Exp $ */
/*
* Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org>
@@ -211,7 +211,7 @@ action : RUN STRING {
if (curstate == NULL) {
free($2);
- yyerror("setstate must be used inside 'if'");
+ yyerror("set-state must be used inside 'if'");
YYERROR;
}
if ((action = calloc(1, sizeof(*action))) == NULL)