X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-yaboot-partition.c;h=25aa98f0c8c6642df007340d07ae34f5f1e95cc8;hp=060698240aae30eb9c288ec36e3428d120cd9cda;hb=f611bde3f182e9a4befb48a0160d1831708aca67;hpb=50a98e73d4eed46e859368915a7800cc904b44f2 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");