eina/module: Rephrase warnings message on module init.

Thsi will also fail if the symbol is there but the init function just fails
to deliver EINA_TRUE. After to much digging and wondering why dlsymb and
dlopen don't behave Daniel was able to point out to me that this warning also
gets shown if init fails.

Adjust the warning message to avoid others spending to much time on this as well.

SVN revision: 76409
This commit is contained in:
Stefan Schmidt 2012-09-10 14:09:48 +00:00
parent 32c68acf3c
commit 0bfdc3bbf4
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ EAPI Eina_Bool eina_module_load(Eina_Module *m)
if ((*initcall)() == EINA_TRUE)
goto ok;
WRN("could not find eina's entry symbol %s inside module %s",
WRN("could not find eina's entry symbol %s inside module %s, or the init function failed",
EINA_MODULE_SYMBOL_INIT, m->file);
eina_error_set(EINA_ERROR_MODULE_INIT_FAILED);
dlclose(dl_handle);