OSDN Git Service

bpftool: Simplify format string to not use positional args
authorAndrii Nakryiko <andriin@fb.com>
Wed, 18 Dec 2019 21:43:14 +0000 (13:43 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 19 Dec 2019 01:02:16 +0000 (17:02 -0800)
commit7c43e0d6a526e7734eb854fe242886f52ccd06ac
treeeb73ce6b3cb7db5fa8d46b9243e4098329df9408
parent58d8dc2a98f50d4741a49e047bd7b322d7692d0b
bpftool: Simplify format string to not use positional args

Change format string referring to just single argument out of two available.
Some versions of libc can reject such format string.

Reported-by: Nikita Shirokov <tehnerd@tehnerd.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20191218214314.2403729-1-andriin@fb.com
tools/bpf/bpftool/gen.c