discover: Pass UUID to discover_device_create()
[petitboot] / discover / udev.c
index f4cefabffa22cde360a1c0ed1ebe0ba76c4a7122..1e043130c7d1c61246ba5ca1518f3076bb37c331 100644 (file)
@@ -158,7 +158,7 @@ static int udev_handle_block_add(struct pb_udev *udev, struct udev_device *dev,
                }
        }
 
-       ddev = discover_device_create(udev->handler, name);
+       ddev = discover_device_create(udev->handler, uuid, name);
 
        ddev->device_path = talloc_strdup(ddev, node);