Skip to content
Commit 68878a5c authored by Zhen Lei's avatar Zhen Lei Committed by Daniel Borkmann
Browse files

bpftool: Fix error return value in build_btf_type_table



An appropriate return value should be set on the failed path.

Fixes: 4d374ba0 ("tools: bpftool: implement "bpftool btf show|list"")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201124104100.491-1-thunder.leizhen@huawei.com
parent 36ccdf85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment