diff options
author | 2017-10-19 15:46:23 -0700 | |
---|---|---|
committer | 2017-10-22 02:11:32 +0100 | |
commit | d9c0b48db9f4b870535b6d7255638347e770633f (patch) | |
tree | c373c28c054cc51a8778441e22d753a3fead5778 /net/unix/af_unix.c | |
parent | tools: bpftool: add `bpftool prog help` as real command i.r.t exit code (diff) | |
download | wireguard-linux-d9c0b48db9f4b870535b6d7255638347e770633f.tar.xz wireguard-linux-d9c0b48db9f4b870535b6d7255638347e770633f.zip |
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