summaryrefslogtreecommitdiffstats
path: root/samples/bpf
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-03-28 11:07:01 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-03-28 15:30:25 +0200
commit20cfb7a04f0a8b7f8f45cf630e23524d51bb3cd9 (patch)
tree962082f01a7e9e9b3e2ea84eb59d759c33da25ca /samples/bpf
parentb76354cdfefb68bc017065850a34d486887a4f7b (diff)
downloadlinux-20cfb7a04f0a8b7f8f45cf630e23524d51bb3cd9.tar.bz2
samples/bpf: fix spelling mistake: "revieve" -> "receive"
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>
Diffstat (limited to 'samples/bpf')
-rw-r--r--samples/bpf/cookie_uid_helper_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/cookie_uid_helper_example.c b/samples/bpf/cookie_uid_helper_example.c
index 9d751e209f31..8eca27e595ae 100644
--- a/samples/bpf/cookie_uid_helper_example.c
+++ b/samples/bpf/cookie_uid_helper_example.c
@@ -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)