samples/bpf: fix spelling mistake: "revieve" -> "receive"
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Mar 2018 10:07:01 +0000 (11:07 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 28 Mar 2018 13:30:25 +0000 (15:30 +0200)
Trivial fix to spelling mistake in error message text

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/cookie_uid_helper_example.c

index 9d751e209f313ca8f20a07e6d578cfb98c23defd..8eca27e595aee7a5b76bd1ee2895e23b3347cc8a 100644 (file)
@@ -246,7 +246,7 @@ static void udp_client(void)
                recv_len = recvfrom(s_rcv, &buf, sizeof(buf), 0,
                             (struct sockaddr *)&si_me, &slen);
                if (recv_len < 0)
-                       error(1, errno, "revieve\n");
+                       error(1, errno, "receive\n");
                res = memcmp(&(si_other.sin_addr), &(si_me.sin_addr),
                           sizeof(si_me.sin_addr));
                if (res != 0)