[PATCH] samples/bpf: fix spelling mistake: "revieve" -> "receive"

Subsystems: bpf [general] (safe dynamic programs and tools), the rest

STALE3127d

2 messages, 2 authors, 2018-03-28 · open the first message on its own page

[PATCH] samples/bpf: fix spelling mistake: "revieve" -> "receive"

From: Colin King <hidden>
Date: 2018-03-28 10:07:07

From: Colin Ian King <redacted>

Trivial fix to spelling mistake in error message text

Signed-off-by: Colin Ian King <redacted>
---
 samples/bpf/cookie_uid_helper_example.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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)
-- 
2.15.1

Re: [PATCH] samples/bpf: fix spelling mistake: "revieve" -> "receive"

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-03-28 13:39:09

On 03/28/2018 12:07 PM, Colin King wrote:
From: Colin Ian King <redacted>

Trivial fix to spelling mistake in error message text

Signed-off-by: Colin Ian King <redacted>
Applied to bpf-next, thanks Colin!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help