diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-03-28 11:07:01 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-28 15:30:25 +0200 |
commit | 20cfb7a04f0a8b7f8f45cf630e23524d51bb3cd9 (patch) | |
tree | 962082f01a7e9e9b3e2ea84eb59d759c33da25ca /samples | |
parent | b76354cdfefb68bc017065850a34d486887a4f7b (diff) | |
download | op-kernel-dev-20cfb7a04f0a8b7f8f45cf630e23524d51bb3cd9.zip op-kernel-dev-20cfb7a04f0a8b7f8f45cf630e23524d51bb3cd9.tar.gz |
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')
-rw-r--r-- | samples/bpf/cookie_uid_helper_example.c | 2 |
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 9d751e2..8eca27e 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) |