From fea1c0999a67217207ece63a25ed88c796c19515 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 3 Aug 2016 13:37:53 +0200 Subject: [PATCH] vfio: Use error_report() instead of error_printf() for errors Cc: Alex Williamson Signed-off-by: Markus Armbruster Message-Id: <1470224274-31522-4-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake --- 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 1798a00a3f..a559e7b659 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.11.0