X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2Ftest-yaboot-partition.c;fp=test%2Fparser%2Ftest-yaboot-partition.c;h=25aa98f0c8c6642df007340d07ae34f5f1e95cc8;hb=f611bde3f182e9a4befb48a0160d1831708aca67;hp=060698240aae30eb9c288ec36e3428d120cd9cda;hpb=4926cde5c97d09794ec33cca1321bb05a8d43304;p=petitboot diff --git a/test/parser/test-yaboot-partition.c b/test/parser/test-yaboot-partition.c index 0606982..25aa98f 100644 --- a/test/parser/test-yaboot-partition.c +++ b/test/parser/test-yaboot-partition.c @@ -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");