[PATCH] app/dumpcap: don't pass negative value to strerror() on error
Stephen Hemminger
stephen at networkplumber.org
Sun Feb 19 18:50:59 CET 2023
On Tue, 7 Feb 2023 09:00:50 -0800
Stephen Hemminger <stephen at networkplumber.org> wrote:
> If eth_stats_get fails (for example with -ENOTSUPP) then
> dumpcap would pass that to strerror which is incorrect.
>
> Fixes: 8744f84bb255 ("app/dumpcap: add statistics mode")
> Coverity issue: 383136
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Small bug fix, please apply
More information about the dev
mailing list