Skip to content

Commit

Permalink
samples/bpf: fix spelling mistake: "revieve" -> "receive"
Browse files Browse the repository at this point in the history
Trivial fix to spelling mistake in error message text

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
  • Loading branch information
Colin Ian King authored and borkmann committed Mar 28, 2018
1 parent b76354c commit 20cfb7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/bpf/cookie_uid_helper_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20cfb7a

Please sign in to comment.