Skip to content

Commit

Permalink
selftests/bpf: Fix spelling mistake "scoket" -> "socket"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Colin Ian King authored and Alexei Starovoitov committed Aug 26, 2020
1 parent d839717 commit 7100ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/prog_tests/d_path.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7100ff7

Please sign in to comment.