diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2009-04-19 10:01:20 -0300 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2009-04-19 10:01:20 -0300 |
commit | ab149c6b07e5e183a0ad4dec6c886f06df6d2efc (patch) | |
tree | ab903683a7f83193de945cff42d9a9a1f00df07c /hardinfo2/arch/linux/common/resources.h | |
parent | b8ec48cc434da4c35e574cdd8d9c7465f101799c (diff) |
Clean up CPU description on benchmark display
Diffstat (limited to 'hardinfo2/arch/linux/common/resources.h')
-rw-r--r-- | hardinfo2/arch/linux/common/resources.h | 4 |
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)); } } |