aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/pfctl/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index ad25f1996d36..f198dcb0b054 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -4214,7 +4214,7 @@ tos : STRING {
| NUMBER {
$$ = $1;
if ($$ < 0 || $$ > 255) {
- yyerror("illegal tos value %s", $1);
+ yyerror("illegal tos value %lu", $1);
YYERROR;
}
}