summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSiddharth Nayyar <sidnayyar@google.com>2026-05-20 12:40:44 +0300
committerAndrii Nakryiko <andrii@kernel.org>2026-05-29 00:19:15 +0300
commitbe4c6c7bc42952b71188894933946b410deadcfe (patch)
treed55e5c63a365f09946692f1e587c96e40af95d87 /include/linux
parentfee9a38174f4c6454fb1fbaf2b9b5a1cca9070d0 (diff)
downloadlinux-be4c6c7bc42952b71188894933946b410deadcfe.tar.xz
bpftool: Fix typo in struct_ops map FD generation for light skeleton
When generating light skeletons for BPF programs containing struct_ops maps, bpftool incorrectly outputs a stray literal 't' instead of a tab character for the map file descriptor member in the links structure. This causes a compilation error when the generated light skeleton is used. Correct the format string by replacing 't' with '\t'. Fixes: 08ac454e258e ("libbpf: Auto-attach struct_ops BPF maps in BPF skeleton") Signed-off-by: Siddharth Nayyar <sidnayyar@google.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Quentin Monnet <qmo@kernel.org> Link: https://lore.kernel.org/bpf/20260520-struct_ops_gen_typo_fix-v1-1-4dee3771da46@google.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions