discover: Remove unnecessary event passing
[petitboot] / test / parser / test-yaboot-device-override.c
index 5db578835323d7c3f11e06dead3767756019bb3b..ddbe4f40405291674dd35d98d4dec19e154becf3 100644 (file)
@@ -63,7 +63,7 @@ void run_test(struct parser_test *test)
        /* hotplug all dependent devices */
        for (i = 0; i < 4; i++) {
                devname = talloc_asprintf(test, "sda%d", i + 1);
-               dev[i] = test_create_device(ctx, devname);
+               dev[i] = test_create_device(test, devname);
                test_hotplug_device(test, dev[i]);
        }