summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2019-10-07 10:26:36 +0200
committerAlexei Starovoitov <ast@kernel.org>2019-10-08 05:12:55 +0200
commit4564a8bb57e4240c08ce2db5194bfa2e71f57730 (patch)
tree0beac1229c3599960dd6c101fe0ee501cd508a41 /samples
parentbpftool: Fix bpftool build by switching to bpf_object__open_file() (diff)
downloadlinux-4564a8bb57e4240c08ce2db5194bfa2e71f57730.tar.xz
linux-4564a8bb57e4240c08ce2db5194bfa2e71f57730.zip
samples/bpf: Trivial - fix spelling mistake in usage
Fix spelling mistake. Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20191007082636.14686-1-anton.ivanov@cambridgegreys.com
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/xdpsock_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/xdpsock_user.c b/samples/bpf/xdpsock_user.c
index df011ac33402..405c4e091f8b 100644
--- a/samples/bpf/xdpsock_user.c
+++ b/samples/bpf/xdpsock_user.c
@@ -378,7 +378,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"