summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_qstats.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_qstats.c
parent7154a67a588a0d4fd73f4cc6c27031f5ef86d322 (diff)
fix format strings in debugging output, qid is unsigned
ok cedric@ mcbride@
Diffstat (limited to 'sbin/pfctl/pfctl_qstats.c')
-rw-r--r--sbin/pfctl/pfctl_qstats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_qstats.c b/sbin/pfctl/pfctl_qstats.c
index 64278d65edb..c6d3957b4bc 100644
--- a/sbin/pfctl/pfctl_qstats.c
+++ b/sbin/pfctl/pfctl_qstats.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_qstats.c,v 1.14 2003/03/08 14:26:31 henning Exp $ */
+/* $OpenBSD: pfctl_qstats.c,v 1.15 2003/03/11 11:53:28 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer
@@ -247,7 +247,7 @@ pfctl_print_altq_node(int dev, const struct pf_altq_node *node, unsigned level,
pfctl_print_altq_nodestat(dev, node);
if (opts & PF_OPT_DEBUG)
- printf("[ qid=%d ifname=%s ifbandwidth=%s ]\n", node->altq.qid,
+ printf("[ qid=%u ifname=%s ifbandwidth=%s ]\n", node->altq.qid,
node->altq.ifname, rate2str(node->altq.ifbandwidth));
for (child = node->children; child != NULL;