aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/computer.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2009-04-19 10:25:33 -0300
committerLeandro Pereira <leandro@hardinfo.org>2009-04-19 10:25:33 -0300
commit61696359d4e4656334bb3de2c5a3b304270d59bb (patch)
tree032d25680cb431edb4b4900ff9fad75a93fea311 /hardinfo2/computer.c
parent4944d17d02726495ba68e76d5151314f9ebf530f (diff)
Distinguish between Kernel Modules / PCI Device in Resource view.
Diffstat (limited to 'hardinfo2/computer.c')
-rw-r--r--hardinfo2/computer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c
index 558206e7..75b85170 100644
--- a/hardinfo2/computer.c
+++ b/hardinfo2/computer.c
@@ -356,7 +356,7 @@ gchar *get_kernel_module_description(gchar *module)
description = g_hash_table_lookup(_module_hash_table, module);
if (!description) {
- return g_strdup(module);
+ return NULL;
}
return g_strdup(description);