aboutsummaryrefslogtreecommitdiff
path: root/tests/rtl8139-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rtl8139-test.c')
-rw-r--r--tests/rtl8139-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rtl8139-test.c b/tests/rtl8139-test.c
index 13de7eeafd..c2f601a380 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();
+ pcibus = qpci_init_pc(NULL);
qpci_device_foreach(pcibus, 0x10ec, 0x8139, save_fn, &dev);
g_assert(dev != NULL);