On 4/8/19 11:36 AM, Markus Armbruster wrote:
Cc: "Michael S. Tsirkin" <[email protected]> Cc: Marcel Apfelbaum <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> --- hw/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci/pci.c b/hw/pci/pci.c index 35451c1e99..a74995b596 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -927,7 +927,7 @@ static uint16_t pci_req_id_cache_extract(PCIReqIDCache *cache) result = PCI_BUILD_BDF(bus_n, 0); break; default: - error_printf("Invalid PCI requester ID cache type: %d\n", + error_report("Invalid PCI requester ID cache type: %d", cache->type); exit(1); break;
Reviewed-by: Marcel Apfelbaum <[email protected]> Thanks, Marcel
