discover: Remove unnecessary event passing
[petitboot] / test / parser / test-yaboot-partition.c
index 060698240aae30eb9c288ec36e3428d120cd9cda..25aa98f0c8c6642df007340d07ae34f5f1e95cc8 100644 (file)
@@ -26,7 +26,7 @@ void run_test(struct parser_test *test)
        check_name(opt, "linux");
        check_unresolved_resource(opt->boot_image);
 
-       dev = test_create_device(ctx, "sda2");
+       dev = test_create_device(test, "sda2");
        test_hotplug_device(test, dev);
 
        check_resolved_local_resource(opt->boot_image, dev, "/vmlinux");