From ab149c6b07e5e183a0ad4dec6c886f06df6d2efc Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 19 Apr 2009 10:01:20 -0300 Subject: Clean up CPU description on benchmark display --- hardinfo2/arch/linux/common/resources.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hardinfo2/arch/linux/common/resources.h') 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("PCI %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("Module %s", (gchar *)idle_free(temp)); } } -- cgit v1.2.3