diff mbox series

samples: Trivial - fix spelling mistake in usage

Message ID 20191007082636.14686-1-anton.ivanov@cambridgegreys.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series samples: Trivial - fix spelling mistake in usage | expand

Commit Message

Anton Ivanov Oct. 7, 2019, 8:26 a.m. UTC
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
---
 samples/bpf/xdpsock_user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Song Liu Oct. 7, 2019, 10:10 p.m. UTC | #1
On Mon, Oct 7, 2019 at 1:51 AM Anton Ivanov
<anton.ivanov@cambridgegreys.com> wrote:
>
> Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>

Acked-by: Song Liu <songliubraving@fb.com>

For future patches, please specify "PATCH bpf-next" or "PATCH bpf" in
the subject line. This
one I guess goes to bpf-next.

Thanks,
Song
Alexei Starovoitov Oct. 8, 2019, 3:15 a.m. UTC | #2
On Mon, Oct 7, 2019 at 1:51 AM Anton Ivanov
<anton.ivanov@cambridgegreys.com> wrote:
>
> Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>

Please add some text to commit log even for trivial patches.
I fixed it up this time and applied.
diff mbox series

Patch

diff --git a/samples/bpf/xdpsock_user.c b/samples/bpf/xdpsock_user.c
index d08ee1ab7bb4..eb78159376eb 100644
--- a/samples/bpf/xdpsock_user.c
+++ b/samples/bpf/xdpsock_user.c
@@ -361,7 +361,7 @@  static void usage(const char *prog)
 		"  -q, --queue=n	Use queue n (default 0)\n"
 		"  -p, --poll		Use poll syscall\n"
 		"  -S, --xdp-skb=n	Use XDP skb-mod\n"
-		"  -N, --xdp-native=n	Enfore XDP native mode\n"
+		"  -N, --xdp-native=n	Enforce XDP native mode\n"
 		"  -n, --interval=n	Specify statistics update interval (default 1 sec).\n"
 		"  -z, --zero-copy      Force zero-copy mode.\n"
 		"  -c, --copy           Force copy mode.\n"