summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-04-18 14:42:17 +0000
committerderaadt <deraadt@openbsd.org>2012-04-18 14:42:17 +0000
commita858877f3c5c15c7d6ef8a60db93685ced8e3f4e (patch)
tree5a2f557ae765dde3c8d1d65abc86bcc40c0bd021
parentundo an error introduced by myself in previous; (diff)
downloadwireguard-openbsd-a858877f3c5c15c7d6ef8a60db93685ced8e3f4e.tar.xz
wireguard-openbsd-a858877f3c5c15c7d6ef8a60db93685ced8e3f4e.zip
not (unsigned); ok henning
-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);
}
}