selftests/bpf: Fix spelling mistake "scoket" -> "socket"
authorColin Ian King <colin.king@canonical.com>
Wed, 26 Aug 2020 08:59:07 +0000 (09:59 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 26 Aug 2020 16:19:34 +0000 (09:19 -0700)
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
tools/testing/selftests/bpf/prog_tests/d_path.c

index 43ffbea..fc12e0d 100644 (file)
@@ -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);