]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
samples/bpf: Fix HDR_PROBE "echo"
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 11 Oct 2019 00:27:54 +0000 (03:27 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 12 Oct 2019 23:08:58 +0000 (16:08 -0700)
commitcdd5b2d1fc86f8dda383d4f0b4ac9b533539e76a
tree50f8f4d346bf45a7f7142c5ae583f9bf0391f941
parente78dcbf414545b53218dab0fb5af5d6b61513eaf
samples/bpf: Fix HDR_PROBE "echo"

echo should be replaced with echo -e to handle '\n' correctly, but
instead, replace it with printf as some systems can't handle echo -e.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191011002808.28206-2-ivan.khoronzhuk@linaro.org
samples/bpf/Makefile