diff options
Diffstat (limited to 'tests/rtl8139-test.c')
-rw-r--r-- | tests/rtl8139-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rtl8139-test.c b/tests/rtl8139-test.c index 49e3f03d98..d6d0c24909 100644 --- a/tests/rtl8139-test.c +++ b/tests/rtl8139-test.c @@ -35,7 +35,7 @@ static QPCIDevice *get_device(void) { QPCIDevice *dev; - pcibus = qpci_init_pc(global_qtest, NULL); + pcibus = qpci_new_pc(global_qtest, NULL); qpci_device_foreach(pcibus, 0x10ec, 0x8139, save_fn, &dev); g_assert(dev != NULL); |