summaryrefslogtreecommitdiff
path: root/tools/bpf/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-03-16 09:26:15 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-03-16 11:23:15 +0300
commitd5fc73dceb060688f01c2ee225a2b42cf47352ba (patch)
treed54bb0c51cdf983d77d76181daa0e50434cd8e09 /tools/bpf/Makefile
parent90126e3a40843de369a496db160ab22bdd6f4c48 (diff)
downloadlinux-d5fc73dceb060688f01c2ee225a2b42cf47352ba.tar.xz
tools: bpftool: fix potential format truncation
GCC 7 complains: xlated_dumper.c: In function ‘print_call’: xlated_dumper.c:179:10: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-truncation=] "%+d#%s", insn->off, sym->name); Add a bit more space to the buffer so it can handle the entire string and integer without truncation. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions