summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-18 14:42:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-18 14:42:18 +0000
commit03e672f665c33441def1c29195b0315654856ff1 (patch)
tree9d19c227f9ccdbb09dbbdbb0c6f764c84344e27c /sbin
parent129c6321bd50d00fa0e1a3794160d83407ef6049 (diff)
not (unsigned); ok henning
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index a674a53a655..f6c19c267ae 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.309 2012/01/15 15:59:33 dhill Exp $ */
+/* $OpenBSD: pfctl.c,v 1.310 2012/04/18 14:42:17 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -733,9 +733,9 @@ pfctl_print_rule_counters(struct pf_rule *rule, int opts)
(unsigned long long)(rule->bytes[0] +
rule->bytes[1]), rule->states_cur);
if (!(opts & PF_OPT_DEBUG))
- printf(" [ Inserted: uid %u pid %u "
+ printf(" [ Inserted: uid %lu pid %lu "
"State Creations: %-6u]\n",
- (unsigned)rule->cuid, (unsigned)rule->cpid,
+ (unsigned long)rule->cuid, (unsigned long)rule->cpid,
rule->states_tot);
}
}