mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
siftr: convert this tval.tv_sec to type intmax_t to print across platforms
Reviewers: rscheff, tuexen Approved by: tuexen (mentor) Subscribers: imp, melifaro, glebius Differential Revision: https://reviews.freebsd.org/D40323
This commit is contained in:
parent
1fc174cba6
commit
b71f278465
@ -391,7 +391,7 @@ siftr_process_pkt(struct pkt_node * pkt_node)
|
||||
"%c,%jd.%06ld,%s,%hu,%s,%hu,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,"
|
||||
"%u,%u,%u,%u,%u,%u,%u,%u\n",
|
||||
direction[pkt_node->direction],
|
||||
pkt_node->tval.tv_sec,
|
||||
(intmax_t)pkt_node->tval.tv_sec,
|
||||
pkt_node->tval.tv_usec,
|
||||
hash_node->const_info.laddr,
|
||||
hash_node->const_info.lport,
|
||||
|
Loading…
Reference in New Issue
Block a user