diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2019-06-20 20:15:00 -0700 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2019-06-20 20:15:00 -0700 | 
| commit | db75710e03bdfa66aa972dcc4e30012364369046 (patch) | |
| tree | f3212d5782917f4eb7db7524a5da064a3efc1365 | |
| parent | 324be4577a34abfeb186b5135e00d62e185d1d51 (diff) | |
Show g_module_error() when loading a module
| -rw-r--r-- | hardinfo/util.c | 2 | 
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) { | 
