git: d29a9a615c53 - main - siftr: fix a build error for powerpc and arm platforms
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 May 2023 20:11:27 UTC
The branch main has been updated by cc: URL: https://cgit.FreeBSD.org/src/commit/?id=d29a9a615c530b50b7f8d5feaa5175f952d8e8e2 commit d29a9a615c530b50b7f8d5feaa5175f952d8e8e2 Author: Cheng Cui <cc@FreeBSD.org> AuthorDate: 2023-05-29 13:33:09 +0000 Commit: Cheng Cui <cc@FreeBSD.org> CommitDate: 2023-05-29 16:10:46 +0000 siftr: fix a build error for powerpc and arm platforms Summary: This is introduced by commit aa61cff4249c. Reviewers: rscheff, tuexen Approved by: tuexen (mentor) Subscribers: imp, melifaro, glebius Differential Revision: https://reviews.freebsd.org/D40320 --- sys/netinet/siftr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c index 0e5312586541..9cad93b3ecf7 100644 --- a/sys/netinet/siftr.c +++ b/sys/netinet/siftr.c @@ -388,7 +388,7 @@ siftr_process_pkt(struct pkt_node * pkt_node) /* Construct a log message. */ log_buf->ae_bytesused = snprintf(log_buf->ae_data, MAX_LOG_MSG_LEN, - "%c,%zd.%06ld,%s,%hu,%s,%hu,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u," + "%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,