diff options
author | Quentin Monnet <quentin.monnet@netronome.com> | 2017-10-20 01:46:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 04:11:32 +0300 |
commit | d9c0b48db9f4b870535b6d7255638347e770633f (patch) | |
tree | c373c28c054cc51a8778441e22d753a3fead5778 /net/unix/af_unix.c | |
parent | 9f606179c84930ada1e347b6d84bb913c8492fec (diff) | |
download | linux-d9c0b48db9f4b870535b6d7255638347e770633f.tar.xz |
tools: bpftool: print only one error message on byte parsing failure
Make error messages more consistent. Specifically, when bpftool fails at
parsing map key bytes, make it print a single error message to stderr
and return from the function, instead of (always) printing a second
error message afterwards.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions