[PATCH] kselftest/pidfd: Fix typos in comments

Ivan Pravdin posted 1 patch 6 months, 3 weeks ago
tools/testing/selftests/pidfd/pidfd_info_test.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] kselftest/pidfd: Fix typos in comments
Posted by Ivan Pravdin 6 months, 3 weeks ago
Fix typos in comments in pidfd_info_test.c

Signed-off-by: Ivan Pravdin <ipravdin.official@gmail.com>
---
 tools/testing/selftests/pidfd/pidfd_info_test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/testing/selftests/pidfd/pidfd_info_test.c b/tools/testing/selftests/pidfd/pidfd_info_test.c
index 1758a1b0457b..53cb429f5fa0 100644
--- a/tools/testing/selftests/pidfd/pidfd_info_test.c
+++ b/tools/testing/selftests/pidfd/pidfd_info_test.c
@@ -229,7 +229,7 @@ static void *pidfd_info_pause_thread(void *arg)
 
 	close(ipc_socket);
 
-	/* Sleep untill we're killed. */
+	/* Sleep until we're killed. */
 	pause();
 	return NULL;
 }
@@ -518,7 +518,7 @@ TEST_F(pidfd_info, thread_group_exec)
 	EXPECT_EQ(sys_pidfd_send_signal(pidfd_leader, SIGKILL, NULL, 0), 0);
 
 	/*
-	 * Afte the exec we're dealing with an empty thread-group so now
+	 * After the exec we're dealing with an empty thread-group so now
 	 * we must see an exit notification on the thread-specific pidfd
 	 * for the thread-group leader as there's no subthread that can
 	 * revive the struct pid.
@@ -665,7 +665,7 @@ TEST_F(pidfd_info, thread_group_exec_thread)
 	EXPECT_EQ(sys_pidfd_send_signal(pidfd_leader, SIGKILL, NULL, 0), 0);
 
 	/*
-	 * Afte the exec we're dealing with an empty thread-group so now
+	 * After the exec we're dealing with an empty thread-group so now
 	 * we must see an exit notification on the thread-specific pidfd
 	 * for the thread-group leader as there's no subthread that can
 	 * revive the struct pid.
-- 
2.45.2