discover: Remove unnecessary event passing
[petitboot] / test / parser / test-grub2-ubuntu-13_04-x86.c
index 45da55ff8b1686fec6b02b17d1e307cc268a5e10..145e4c0cfee1a919b0f911d86d8e387ff3567da3 100644 (file)
@@ -44,7 +44,7 @@ void run_test(struct parser_test *test)
 
        /* hotplug a device with a maching UUID, and check that our
         * resources become resolved */
-       dev = test_create_device(ctx, "external");
+       dev = test_create_device(test, "external");
        dev->uuid = "29beca39-9181-4780-bbb2-ab5d4be59aaf";
        test_hotplug_device(test, dev);