From 017a27feb9a9857339caad3e75d4689d14d03ecc Mon Sep 17 00:00:00 2001 From: stefan Date: Mon, 10 Sep 2012 14:09:48 +0000 Subject: [PATCH] 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. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@76409 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina_module.c b/src/lib/eina_module.c index 9e20fbd..736df0d 100644 --- a/src/lib/eina_module.c +++ b/src/lib/eina_module.c @@ -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); -- 2.7.4