aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common/resources.h')
-rw-r--r--hardinfo2/arch/linux/common/resources.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/arch/linux/common/resources.h b/hardinfo2/arch/linux/common/resources.h
index 20db65e9..acfbe377 100644
--- a/hardinfo2/arch/linux/common/resources.h
+++ b/hardinfo2/arch/linux/common/resources.h
@@ -38,12 +38,12 @@ static gchar *_resource_obtain_name(gchar *name)
if (g_regex_match(_regex_pci, name, 0, NULL)) {
temp = module_call_method_param("devices::getPCIDeviceDescription", name);
if (temp) {
- return temp;
+ return g_strdup_printf("<b><small>PCI</small></b> %s", (gchar *)idle_free(temp));
}
} else if (g_regex_match(_regex_module, name, 0, NULL)) {
temp = module_call_method_param("computer::getKernelModuleDescription", name);
if (temp) {
- return temp;
+ return g_strdup_printf("<b><small>Module</small></b> %s", (gchar *)idle_free(temp));
}
}