print a warning when a module fails to open

This commit is contained in:
Dana Jansens 2003-03-26 01:41:06 +00:00
parent 6401ceed2b
commit 4840f7e837

View file

@ -44,6 +44,7 @@ static Plugin *plugin_new(char *name)
} }
if (p->module == NULL) { if (p->module == NULL) {
g_warning(g_module_error());
g_free(p); g_free(p);
return NULL; return NULL;
} }