]> www.infradead.org Git - users/hch/misc.git/commit
bpftool: Using the right format specifiers
authorJiayuan Chen <mrpre@163.com>
Fri, 7 Feb 2025 12:37:06 +0000 (20:37 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 11 Feb 2025 00:08:13 +0000 (16:08 -0800)
commit17c3dc50294ba445ddc7d50020df6452e93d38b2
tree8f81b0529b2f6e877c622159e595efa03e80c43e
parent9b6cdaf2ac85bdf67a2dd347b7fe780d4db77158
bpftool: Using the right format specifiers

Fixed some formatting specifiers errors, such as using %d for int and %u
for unsigned int, as well as other byte-length types.

Signed-off-by: Jiayuan Chen <mrpre@163.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Quentin Monnet <qmo@kernel.org>
Link: https://lore.kernel.org/bpf/20250207123706.727928-2-mrpre@163.com
tools/bpf/bpftool/gen.c
tools/bpf/bpftool/link.c
tools/bpf/bpftool/main.c
tools/bpf/bpftool/map.c