diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2022-07-06 17:56:24 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-08-02 11:01:42 +0200 |
commit | 630179b7f7d147ee0f7d396e71775b60a16f46a1 (patch) | |
tree | d131b1cbacc792bd986cef03930dc570b10851df /subprojects/libvhost-user | |
parent | d9cf16c0bee5b97fb76e0e1ad915a22bec0031b9 (diff) |
libvduse: Pass positive value to strerror()
The value passed to strerror() should be positive.
So let's fix it.
Fixes: Coverity CID 1490226, 1490223
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220706095624.328-4-xieyongji@bytedance.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'subprojects/libvhost-user')
0 files changed, 0 insertions, 0 deletions