diff options
| author | Quentin Monnet <[email protected]> | 2017-10-19 22:46:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-22 01:11:32 +0000 |
| 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 | kernel-d9c0b48db9f4b870535b6d7255638347e770633f.tar.gz kernel-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 <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
