diff options
author | dequis <dx@dxzone.com.ar> | 2016-05-06 13:28:10 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-05-06 13:28:10 -0300 |
commit | 4fe91a16d4808ebf47ea8be6f4206139c91d3347 (patch) | |
tree | 7c00f1c7dfc469529970199a7678bb4d96b66ccf | |
parent | 72d48b67c9c3f1b440c943a7e30523c9bce25f3c (diff) |
load_plugin: Improve g_module_open error message
The previous one seemed to imply a "file not found" error, which is
misleading.
-rw-r--r-- | protocols/nogaim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c index a1aba51f..c9cbb033 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -46,7 +46,7 @@ gboolean load_plugin(char *path) GModule *mod = g_module_open(path, G_MODULE_BIND_LAZY); if (!mod) { - log_message(LOGLVL_ERROR, "Can't find `%s', not loading (%s)\n", path, g_module_error()); + log_message(LOGLVL_ERROR, "Error loading plugin `%s': %s\n", path, g_module_error()); return FALSE; } |