Skip to contentSkip to conversation

selftests/core: fix repeated word in close_range_test.c comment

PATCH New Imanol 1 participant 1 message Feb 16, 2025 Kselftest

lore
Share & tools
lore

Imanol

author
#0 lore raw

PATCH 1/1 selftests/core: fix repeated word in close_range_test.c comment

Fixes a minor grammatical issue in a comment in close_range_test.c where "and and" was mistakenly repeated.

---
 tools/testing/selftests/core/close_range_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/core/close_range_test.c +1 -1
index e0d9851fe1c9..c19e8d037211 100644
@@ -506,7 +506,7 @@ TEST(close_range_cloexec_unshare_syzbot)
 
 	/*
 	 * Create a huge gap in the fd table. When we now call
-	 * CLOSE_RANGE_UNSHARE with a shared fd table and and with ~0U as upper
+	 * CLOSE_RANGE_UNSHARE with a shared fd table and with ~0U as upper
 	 * bound the kernel will only copy up to fd1 file descriptors into the
 	 * new fd table. If the kernel is buggy and doesn't handle
 	 * CLOSE_RANGE_CLOEXEC correctly it will not have copied all file
Signature · 1 line
2.43.0