Fix printing of u_int64_t with a cast to unsigned long long.
Found-by: tinderbox(amd64)
This commit is contained in:
parent
b8938b667e
commit
4238db7522
@ -556,7 +556,7 @@ print_status(struct pf_status *s, int opts)
|
||||
s->src_nodes, "");
|
||||
for (i = 0; i < SCNT_MAX; i++) {
|
||||
printf(" %-25s %14lld ", pf_scounters[i],
|
||||
s->scounters[i]);
|
||||
(unsigned long long)s->scounters[i]);
|
||||
if (runtime > 0)
|
||||
printf("%14.1f/s\n",
|
||||
(double)s->scounters[i] / (double)runtime);
|
||||
|
Loading…
Reference in New Issue
Block a user