diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-02-14 10:05:21 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-02-14 10:05:21 +0000 |
commit | 48278b884656bf960d81fd9556f1203b176749e2 (patch) | |
tree | d75437f1387850beb0727915096f9a956d708eb3 /sbin/pfctl/pfctl.c | |
parent | 552ee0e1ed263dc7436db6701e05b7914145dab3 (diff) | |
download | src-test-48278b884656bf960d81fd9556f1203b176749e2.tar.gz src-test-48278b884656bf960d81fd9556f1203b176749e2.zip |
Notes
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r-- | sbin/pfctl/pfctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index cb70e7ff0f52e..7983ac7aede3b 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -791,17 +791,17 @@ pfctl_print_rule_counters(struct pf_rule *rule, int opts) } if (opts & PF_OPT_VERBOSE) { printf(" [ Evaluations: %-8llu Packets: %-8llu " - "Bytes: %-10llu States: %-6u]\n", + "Bytes: %-10llu States: %-6lu]\n", (unsigned long long)rule->evaluations, (unsigned long long)(rule->packets[0] + rule->packets[1]), (unsigned long long)(rule->bytes[0] + - rule->bytes[1]), rule->states_cur); + rule->bytes[1]), (uint64_t)rule->states_cur); if (!(opts & PF_OPT_DEBUG)) printf(" [ Inserted: uid %u pid %u " - "State Creations: %-6u]\n", + "State Creations: %-6lu]\n", (unsigned)rule->cuid, (unsigned)rule->cpid, - rule->states_tot); + (uint64_t)rule->states_tot); } } |