aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-06-20 20:15:00 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-06-20 20:15:00 -0700
commitdb75710e03bdfa66aa972dcc4e30012364369046 (patch)
treef3212d5782917f4eb7db7524a5da064a3efc1365 /hardinfo
parent324be4577a34abfeb186b5135e00d62e185d1d51 (diff)
Show g_module_error() when loading a module
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 67e5b663..55517a50 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -747,7 +747,7 @@ static ShellModule *module_load(gchar * filename)
tmp = g_build_filename(params.path_lib, "modules", filename, NULL);
module->dll = g_module_open(tmp, G_MODULE_BIND_LAZY);
- DEBUG("gmodule resource for ``%s'' is %p", tmp, module->dll);
+ DEBUG("gmodule resource for ``%s'' is %p (%s)", tmp, module->dll, g_module_error());
g_free(tmp);
if (module->dll) {