git: cc6672235c3b - main - tests/netinet/raw: fix ssize_t printf(3) format
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Mar 2026 18:52:14 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=cc6672235c3bbd12fd6006934ba328c5a85f2c3c
commit cc6672235c3bbd12fd6006934ba328c5a85f2c3c
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-03-18 18:51:42 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-03-18 18:51:42 +0000
tests/netinet/raw: fix ssize_t printf(3) format
Fixes: c1481c9f4a425db7295332be87f837bfb7d127df
---
tests/sys/netinet/raw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/netinet/raw.c b/tests/sys/netinet/raw.c
index 1cae39b01c9b..9c25b3ddbec2 100644
--- a/tests/sys/netinet/raw.c
+++ b/tests/sys/netinet/raw.c
@@ -195,7 +195,7 @@ ATF_TC_BODY(input, tc)
pkt.payload, sizeof(pkt.payload)) == 0) ||
(tests[i].results[j] == false &&
ss == -1 && errno == EAGAIN),
- "test #%u %s->%s %u unexpected receive of %jd "
+ "test #%u %s->%s %u unexpected receive of %zd "
"bytes errno %d on socket #%u %s->%s %u", i,
inet_ntop(AF_INET, &tests[i].src, p[0],
INET_ADDRSTRLEN),