summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-09-10 00:32:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-09-10 00:32:04 +0000
commita1989a736aaeb2ec63de4b4708b489a0eddedf6f (patch)
treeb115da388534537cac60c731634912e81f300cdc /sbin/pfctl
parentefba7743015a4dfa2174b8c8d641eacc75aec765 (diff)
do not try to print $$ when it has not been set
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index fc075f9b0ae..6b0bc2c89ae 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.551 2008/09/09 13:56:38 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.552 2008/09/10 00:32:03 deraadt Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -553,7 +553,7 @@ optimizer : string {
else if (!strcmp($1, "profile"))
$$ = PF_OPTIMIZE_BASIC | PF_OPTIMIZE_PROFILE;
else {
- yyerror("unknown ruleset-optimization %s", $$);
+ yyerror("unknown ruleset-optimization %s", $1);
YYERROR;
}
}