diff mbox series

[next] selftests/bpf: fix spelling mistake "scoket" -> "socket"

Message ID 20200826085907.43095-1-colin.king@canonical.com (mailing list archive)
State Accepted
Commit 7100ff7c62682c2332300ffde8706578e1098e13
Headers show
Series [next] selftests/bpf: fix spelling mistake "scoket" -> "socket" | expand

Commit Message

Colin King Aug. 26, 2020, 8:59 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake an a check error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/testing/selftests/bpf/prog_tests/d_path.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexei Starovoitov Aug. 26, 2020, 4:22 p.m. UTC | #1
On Wed, Aug 26, 2020 at 1:59 AM Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake an a check error message. Fix it.

Kinda ironic that you've made a spelling mistake in the commit log
that fixes spelling in the test.
Whatever scripts you use to detect spelling errors, please use it
on your commit messages as well.

> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied with s/an/in/ in the commit log.
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/prog_tests/d_path.c b/tools/testing/selftests/bpf/prog_tests/d_path.c
index 058765da17e6..4ce2bb799afb 100644
--- a/tools/testing/selftests/bpf/prog_tests/d_path.c
+++ b/tools/testing/selftests/bpf/prog_tests/d_path.c
@@ -38,7 +38,7 @@  static int trigger_fstat_events(pid_t pid)
 		return ret;
 	/* unmountable pseudo-filesystems */
 	sockfd = socket(AF_INET, SOCK_STREAM, 0);
-	if (CHECK(sockfd < 0, "trigger", "scoket failed\n"))
+	if (CHECK(sockfd < 0, "trigger", "socket failed\n"))
 		goto out_close;
 	/* mountable pseudo-filesystems */
 	procfd = open("/proc/self/comm", O_RDONLY);