aboutsummaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorJohn Fastabend2020-09-29 13:07:49 -0700
committerAlexei Starovoitov2020-09-29 13:21:23 -0700
commitc810b31ecb036b94629726d6219ad21b0c7a64a2 (patch)
tree8e5bed9e46be228c15af9f6a84223512a0c6126c /CREDITS
parent93b8713d61982377faf2f87994a303c6f7df0162 (diff)
bpf, selftests: Fix warning in snprintf_btf where system() call unchecked
On my systems system() calls are marked with warn_unused_result apparently. So without error checking we get this warning, ./prog_tests/snprintf_btf.c:30:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result[-Wunused-result] Also it seems like a good idea to check the return value anyways to ensure ping exists even if its seems unlikely. Fixes: 076a95f5aff2c ("selftests/bpf: Add bpf_snprintf_btf helper tests") Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/160141006897.25201.12095049414156293265.stgit@john-Precision-5820-Tower
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions