diff options
Diffstat (limited to 'tests/ide-test.c')
-rw-r--r-- | tests/ide-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ide-test.c b/tests/ide-test.c index be427e41d6..ed71db005f 100644 --- a/tests/ide-test.c +++ b/tests/ide-test.c @@ -150,7 +150,7 @@ static QPCIDevice *get_pci_device(QPCIBar *bmdma_bar, QPCIBar *ide_bar) uint16_t vendor_id, device_id; if (!pcibus) { - pcibus = qpci_init_pc(NULL); + pcibus = qpci_init_pc(global_qtest, NULL); } /* Find PCI device and verify it's the right one */ |