git: 9743e9efdf5f - main - SO_SPLICE tests: Fix a comment typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jan 2025 21:03:49 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=9743e9efdf5f0d2338d7cfeed8f09d89d889bac4
commit 9743e9efdf5f0d2338d7cfeed8f09d89d889bac4
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-06 20:53:52 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-06 21:03:00 +0000
SO_SPLICE tests: Fix a comment typo
MFC after: 1 week
Sponsored by: Klara, Inc.
---
tests/sys/kern/socket_splice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/kern/socket_splice.c b/tests/sys/kern/socket_splice.c
index 3970f16b34dc..3a85ae91ecc7 100644
--- a/tests/sys/kern/socket_splice.c
+++ b/tests/sys/kern/socket_splice.c
@@ -330,7 +330,7 @@ ATF_TC_BODY(splice_capsicum, tc)
tcp4_socketpair(right);
/*
- * Make sure that we splice a socket that's missing recv rights.
+ * Make sure that we can't splice a socket that's missing recv rights.
*/
remove_rights(left[1], cap_rights_init(&rights, CAP_RECV));
splice_init(&sp, right[0], 0, NULL);