trivial: Include the device subsubsystem in the physical ID error message

We check for this, so it makes sense to show it in the list of possibilities.
This commit is contained in:
Richard Hughes 2020-02-11 10:54:26 +00:00
parent 1bd0617aac
commit 08fd6e9179

View File

@ -559,7 +559,9 @@ fu_udev_device_get_parent_subsystems (FuUdevDevice *self)
GString *str = g_string_new (NULL);
g_autoptr(GUdevDevice) udev_device = g_object_ref (priv->udev_device);
/* find subsystems of all parent devices */
/* find subsystems of self and all parent devices */
if (priv->subsystem != NULL)
g_string_append_printf (str, "%s,", priv->subsystem);
while (TRUE) {
g_autoptr(GUdevDevice) parent = g_udev_device_get_parent (udev_device);
if (parent == NULL)