diff options
author | Benjamin Poirier <bpoirier@suse.com> | 2019-04-11 11:03:32 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-26 03:30:14 +0300 |
commit | 77d764263d1165a2edf13735915fc39bc44abf1d (patch) | |
tree | ad753ffb68150f74bf080338fa84a832612275f5 /tools/bpf/bpftool/common.c | |
parent | 7f0c57fec80f198ae9fcd06e5bbca13196815a4b (diff) | |
download | linux-77d764263d1165a2edf13735915fc39bc44abf1d.tar.xz |
bpftool: Fix errno variable usage
The test meant to use the saved value of errno. Given the current code, it
makes no practical difference however.
Fixes: bf598a8f0f77 ("bpftool: Improve handling of ENOENT on map dumps")
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions