aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-10-17 14:21:32 +0000
committerMark Johnston <markj@FreeBSD.org>2023-10-24 14:28:11 +0000
commit21a9924086c7884f4545b64a56180ef690047973 (patch)
tree96583af67e02c783147f7e4451d1b128bcd50df6
parent44f28069e2e5ecbf402244816ec6cac03c7c0cf9 (diff)
downloadsrc-21a9924086c7884f4545b64a56180ef690047973.tar.gz
src-21a9924086c7884f4545b64a56180ef690047973.zip
socket tests: Build fix
Fixes: d8735eb7acc0 ("socket tests: Add a regression test for ktrace+recv(MSG_TRUNC)") Reported by: Jenkins (cherry picked from commit 4bd1e19684945aa1fd3397b58613f5210fda9091)
-rw-r--r--tests/sys/kern/socket_msg_trunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys/kern/socket_msg_trunc.c b/tests/sys/kern/socket_msg_trunc.c
index 279170158643..ff0499c4540d 100644
--- a/tests/sys/kern/socket_msg_trunc.c
+++ b/tests/sys/kern/socket_msg_trunc.c
@@ -231,7 +231,7 @@ ATF_TC_BODY(recvmsg_trunc_ktrace_uio, tc)
nbytes = read(fd, &ktr, sizeof(ktr));
ATF_REQUIRE_MSG(nbytes >= 0, "read failed: %s", strerror(errno));
ATF_REQUIRE((size_t)nbytes == sizeof(ktr));
- ATF_REQUIRE_MSG((ktr.ktr_type & ~KTR_TYPE) == KTR_GENIO);
+ ATF_REQUIRE((ktr.ktr_type & ~KTR_TYPE) == KTR_GENIO);
ATF_REQUIRE(close(fd) == 0);
ATF_REQUIRE(close(sd[0]) == 0);