summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-27 21:37:48 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-27 21:37:48 +0000
commitbec69df1c6672579961d96b718b8703650d01322 (patch)
tree40a1870767093f36e9a5cec8bbe6c0197725a005 /hcid
parent0e7c9be2d98e1145295176aec8cc8b4b531007fe (diff)
Make use of g_module_error when a plugin fails to load.
Diffstat (limited to 'hcid')
-rw-r--r--hcid/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/plugin.c b/hcid/plugin.c
index c2b7790c..2a15741e 100644
--- a/hcid/plugin.c
+++ b/hcid/plugin.c
@@ -92,7 +92,7 @@ gboolean plugin_init(void)
module = g_module_open(filename, 0);
if (module == NULL) {
- error("Can't load plugin %s", filename);
+ error("Can't load plugin: %s", g_module_error());
g_free(filename);
continue;
}