diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-08-26 10:59:07 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-26 18:19:34 +0200 |
commit | 7100ff7c62682c2332300ffde8706578e1098e13 (patch) | |
tree | 0fa941f8730a39a9cd096aa04bbde16c139f8488 /tools | |
parent | selftests/bpf: Fix open call in trigger_fstat_events (diff) | |
download | linux-7100ff7c62682c2332300ffde8706578e1098e13.tar.xz linux-7100ff7c62682c2332300ffde8706578e1098e13.zip |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/bpf/prog_tests/d_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/d_path.c b/tools/testing/selftests/bpf/prog_tests/d_path.c index 43ffbeacd680..fc12e0d445ff 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); |