aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo')
-rw-r--r--hardinfo/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c
index 1640be8b..3c083b34 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -1368,7 +1368,7 @@ moreinfo_lookup_with_prefix(gchar *prefix, gchar *key)
{
if (G_UNLIKELY(!_moreinfo)) {
DEBUG("moreinfo not initialized");
- return;
+ return 0;
}
if (prefix) {