summary refs log tree commit diff stats
path: root/tests/e1000e-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e1000e-test.c')
-rw-r--r--tests/e1000e-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e1000e-test.c b/tests/e1000e-test.c
index d8085d944e..32aa738b72 100644
--- a/tests/e1000e-test.c
+++ b/tests/e1000e-test.c
@@ -392,7 +392,7 @@ static void data_test_init(e1000e_device *d)
     qtest_start(cmdline);
     g_free(cmdline);
 
-    test_alloc = pc_alloc_init();
+    test_alloc = pc_alloc_init(global_qtest);
     g_assert_nonnull(test_alloc);
 
     test_bus = qpci_init_pc(global_qtest, test_alloc);