From 4fe91a16d4808ebf47ea8be6f4206139c91d3347 Mon Sep 17 00:00:00 2001 From: dequis Date: Fri, 6 May 2016 13:28:10 -0300 Subject: load_plugin: Improve g_module_open error message The previous one seemed to imply a "file not found" error, which is misleading. --- protocols/nogaim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3