[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] vfio: Use error_report() instead of error_print
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH 3/4] vfio: Use error_report() instead of error_printf() for errors |
Date: |
Wed, 3 Aug 2016 13:37:53 +0200 |
Cc: Alex Williamson <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
---
hw/vfio/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c
index 1798a00..a559e7b 100644
--- a/hw/vfio/platform.c
+++ b/hw/vfio/platform.c
@@ -496,7 +496,7 @@ static int vfio_populate_device(VFIODevice *vbasedev)
irq.index = i;
ret = ioctl(vbasedev->fd, VFIO_DEVICE_GET_IRQ_INFO, &irq);
if (ret) {
- error_printf("vfio: error getting device %s irq info",
+ error_report("vfio: error getting device %s irq info",
vbasedev->name);
goto irq_err;
} else {
--
2.5.5