qemu-e2k/subprojects/libvduse
Xie Yongji 630179b7f7 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>
2022-08-02 11:01:42 +02:00
..
include libvduse: Add VDUSE (vDPA Device in Userspace) library 2022-06-24 17:07:06 +02:00
linux-headers libvduse: Add VDUSE (vDPA Device in Userspace) library 2022-06-24 17:07:06 +02:00
standard-headers libvduse: Add VDUSE (vDPA Device in Userspace) library 2022-06-24 17:07:06 +02:00
libvduse.c libvduse: Pass positive value to strerror() 2022-08-02 11:01:42 +02:00
libvduse.h libvduse: Add support for reconnecting 2022-06-24 17:07:06 +02:00
meson.build libvduse: Add VDUSE (vDPA Device in Userspace) library 2022-06-24 17:07:06 +02:00