Received: from eggs.gnu.org ([2001:4830:134:3::10]:43005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWeqQ-0006xt-Ps for qemu-devel@nongnu.org; Mon, 08 Aug 2016 03:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWeqK-0005Fe-NC for qemu-devel@nongnu.org; Mon, 08 Aug 2016 03:19:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWeqK-0005FE-HY for qemu-devel@nongnu.org; Mon, 08 Aug 2016 03:19:24 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1106A83F41 for ; Mon, 8 Aug 2016 07:19:24 +0000 (UTC) From: Markus Armbruster Date: Mon, 8 Aug 2016 09:19:20 +0200 Message-Id: <1470640761-17579-4-git-send-email-armbru@redhat.com> In-Reply-To: <1470640761-17579-1-git-send-email-armbru@redhat.com> References: <1470640761-17579-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL for-2.7 3/4] vfio: Use error_report() instead of error_printf() for errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alex Williamson 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 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