Print filename of failed plugin

This commit is contained in:
Enrico Tröger 2013-02-03 12:35:05 +01:00
parent cfed3c3f23
commit 82f259f6b5

View File

@ -67,7 +67,7 @@ static gboolean test_plugin(const gchar *filename)
module = g_module_open(filename, G_MODULE_BIND_LOCAL);
if (! module)
{
g_warning("Can't load plugin: %s", g_module_error());
g_warning("Can't load plugin: \"%s\": %s", filename, g_module_error());
return FALSE;
}
@ -121,4 +121,3 @@ gint main(gint argc, gchar **argv)
return result;
}