[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200826085907.43095-1-colin.king@canonical.com>
Date: Wed, 26 Aug 2020 09:59:07 +0100
From: Colin King <colin.king@...onical.com>
To: Shuah Khan <shuah@...nel.org>, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Jiri Olsa <jolsa@...nel.org>, linux-kselftest@...r.kernel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
From: Colin Ian King <colin.king@...onical.com>
There is a spelling mistake an a check error message. Fix it.
Signed-off-by: Colin Ian King <colin.king@...onical.com>
---
tools/testing/selftests/bpf/prog_tests/d_path.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.27.0
Powered by blists - more mailing lists