Commit 7100ff7c authored by Colin Ian King's avatar Colin Ian King Committed by Alexei Starovoitov

selftests/bpf: Fix spelling mistake "scoket" -> "socket"

There is a spelling mistake in a check error message. Fix it.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200826085907.43095-1-colin.king@canonical.com
parent d8397176
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment