discover: Pass UUID to discover_device_create()
[petitboot] / test / parser / utils.c
index 5cebc99062ad23a06d6217804cf57ae88a298f74..f0796fd30f9beea75005df2bd93c00430e56d50e 100644 (file)
@@ -73,7 +73,7 @@ struct discover_device *test_create_device(struct parser_test *test,
 {
        struct discover_device *dev;
 
-       dev = discover_device_create(test->handler, name);
+       dev = discover_device_create(test->handler, NULL, name);
 
        dev->device->id = talloc_strdup(dev, name);
        dev->device_path = talloc_asprintf(dev, "/dev/%s", name);