diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2009-04-19 10:25:33 -0300 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2009-04-19 10:25:33 -0300 |
commit | 61696359d4e4656334bb3de2c5a3b304270d59bb (patch) | |
tree | 032d25680cb431edb4b4900ff9fad75a93fea311 /hardinfo2/computer.c | |
parent | 4944d17d02726495ba68e76d5151314f9ebf530f (diff) |
Distinguish between Kernel Modules / PCI Device in Resource view.
Diffstat (limited to 'hardinfo2/computer.c')
-rw-r--r-- | hardinfo2/computer.c | 2 |
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); |