From 419c04c504ce9014beba60aaec22a88a5fc3246d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 1 Dec 2020 10:57:57 +0000 Subject: [PATCH] trivial: Show the subsystem when calling FuUdevDevice->to_string() --- libfwupdplugin/fu-udev-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfwupdplugin/fu-udev-device.c b/libfwupdplugin/fu-udev-device.c index f79cc0d35..a6339d9dc 100644 --- a/libfwupdplugin/fu-udev-device.c +++ b/libfwupdplugin/fu-udev-device.c @@ -150,6 +150,7 @@ fu_udev_device_to_string (FuDevice *device, guint idt, GString *str) if (priv->udev_device != NULL) { fu_common_string_append_kv (str, idt, "SysfsPath", 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) { g_autoptr(GUdevDevice) udev_parent = NULL;