mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 10:27:47 +00:00
trivial: Show the subsystem when calling FuUdevDevice->to_string()
This commit is contained in:
parent
8a9f1674a3
commit
419c04c504
@ -150,6 +150,7 @@ fu_udev_device_to_string (FuDevice *device, guint idt, GString *str)
|
|||||||
if (priv->udev_device != NULL) {
|
if (priv->udev_device != NULL) {
|
||||||
fu_common_string_append_kv (str, idt, "SysfsPath",
|
fu_common_string_append_kv (str, idt, "SysfsPath",
|
||||||
g_udev_device_get_sysfs_path (priv->udev_device));
|
g_udev_device_get_sysfs_path (priv->udev_device));
|
||||||
|
fu_common_string_append_kv (str, idt, "Subsystem", priv->subsystem);
|
||||||
}
|
}
|
||||||
if (g_getenv ("FU_UDEV_DEVICE_DEBUG") != NULL) {
|
if (g_getenv ("FU_UDEV_DEVICE_DEBUG") != NULL) {
|
||||||
g_autoptr(GUdevDevice) udev_parent = NULL;
|
g_autoptr(GUdevDevice) udev_parent = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user