diff options
author | Zhihao Cheng <[email protected]> | 2021-06-09 19:59:16 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-06-11 15:31:09 -0700 |
commit | ca16b429f39b4ce013bfa7e197f25681e65a2a42 (patch) | |
tree | 4a80bc04925b32035eeda57111de61558c9268f4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 3b3af91cb6893967bbec30f5c14562d0f7f00c2a (diff) |
tools/bpftool: Fix error return code in do_batch()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 668da745af3c2 ("tools: bpftool: add support for quotations ...")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhihao Cheng <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions