From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUuUr-0007vG-MQ for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:38:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUuUn-0001ep-Ky for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:38:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUuUn-0001eO-F7 for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:37:57 -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 681A33A25D for ; Wed, 3 Aug 2016 11:37:56 +0000 (UTC) From: Markus Armbruster Date: Wed, 3 Aug 2016 13:37:53 +0200 Message-Id: <1470224274-31522-4-git-send-email-armbru@redhat.com> In-Reply-To: <1470224274-31522-1-git-send-email-armbru@redhat.com> References: <1470224274-31522-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 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 --- 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