summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-03-11 11:53:29 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-03-11 11:53:29 +0000
commit591b49d1a3f4005ce232622de84720a8f4daa310 (patch)
treebf7eff0a23053d9e8dd8abab5c913d39551d4881 /sbin/pfctl/pfctl.c
parent7154a67a588a0d4fd73f4cc6c27031f5ef86d322 (diff)
fix format strings in debugging output, qid is unsigned
ok cedric@ mcbride@
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r--sbin/pfctl/pfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 0479529c521..4f98512d617 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.159 2003/03/10 13:28:00 henning Exp $ */
+/* $OpenBSD: pfctl.c,v 1.160 2003/03/11 11:53:28 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -499,7 +499,7 @@ pfctl_print_rule_counters(struct pf_rule *rule, int opts)
}
printf("]\n");
- printf("[ Queue: qname=%s qid=%d pqname=%s pqid=%d ]\n",
+ printf("[ queue: qname=%s qid=%u pqname=%s pqid=%u ]\n",
rule->qname, rule->qid, rule->pqname, rule->pqid);
}
if (opts & PF_OPT_VERBOSE)