selftests/bpf: Fix spelling mistake "scoket" -> "socket"
There is a spelling mistake in a check error message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200826085907.43095-1-colin.king@canonical.com
This commit is contained in:
parent
d83971761f
commit
7100ff7c62
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user