mirror of
https://github.com/qemu/qemu.git
synced 2025-08-14 11:43:46 +00:00
pci: Report fatal errors with error_report(), not error_printf()
Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20190417190641.26814-6-armbru@redhat.com>
This commit is contained in:
parent
036a26046f
commit
eaf27fab21
@ -951,7 +951,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;
|
||||
|
Loading…
Reference in New Issue
Block a user