diff options
author | hwspeedy <ns@bigbear.dk> | 2024-02-24 02:50:09 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-02-24 02:50:09 +0100 |
commit | 3b15ab92cd38f1b592e8f9fafaa411523970f051 (patch) | |
tree | 7e6513c3ce4f7f067acab7be8f177f4f69702cbe | |
parent | 6f38bfe3eed203aca34b2f5e383b621f66de21cf (diff) |
FIX FIX udisks2 wrongly disabled
-rw-r--r-- | hardinfo2/udisks2_util.c | 6 | ||||
-rw-r--r-- | modules/devices.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/hardinfo2/udisks2_util.c b/hardinfo2/udisks2_util.c index e1567d84..42ca0e91 100644 --- a/hardinfo2/udisks2_util.c +++ b/hardinfo2/udisks2_util.c @@ -133,7 +133,7 @@ GSList* udisks2_drives_func_caller(GDBusConnection* conn, g_variant_unref(v); g_object_unref(block_proxy); continue; - } + } // Skip loop devices v = get_dbus_property(block_proxy, UDISKS2_LOOP_INTERFACE, "BackingFile"); @@ -141,7 +141,7 @@ GSList* udisks2_drives_func_caller(GDBusConnection* conn, g_variant_unref(v); g_object_unref(block_proxy); continue; - } + } block_dev = block_path + strlen(UDISKS2_BLOCK_DEVICES_PATH) + 1; drive_path = NULL; @@ -629,7 +629,7 @@ GSList* get_udisks2_all_drives_info(void){ void udisks2_init(){ if (udisks2_conn == NULL){ - //FIXME udisks2_conn = get_udisks2_connection(); + udisks2_conn = get_udisks2_connection(); } } diff --git a/modules/devices.c b/modules/devices.c index 614c43f5..dd51b482 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -930,7 +930,7 @@ const gchar *hi_note_func(gint entry) if (storage_no_nvme) { return g_strdup( _("Any NVMe storage devices present are not listed.\n" - "<b><i>udisksd</i></b> is required for NVMe devices.")); + "<b><i>udisks2</i></b> is required for NVMe devices.")); } } else if (entry == ENTRY_DMI_MEM){ |