On Fri, Feb 14, 2020 at 10:55:19AM +0100, Michal Privoznik wrote:
In a few places we report errno formatted as a negative integer.
This is not as user friendly as it can be. Use strerror() and/or
error_setg_errno() instead.

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>

v1 posted here:


diff to v1:
- Change error reporting in vfio_dma_unmap() too as I missed it in v1.

hw/vfio/common.c    | 4 ++--
util/vfio-helpers.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Ján Tomko <jto...@redhat.com>


Attachment: signature.asc
Description: PGP signature

Reply via email to