From 0bfdc3bbf4c1eb0ed105ff418c10a96fd88fbbf8 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt 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. SVN revision: 76409 --- legacy/eina/src/lib/eina_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/eina/src/lib/eina_module.c b/legacy/eina/src/lib/eina_module.c index 9e20fbd175..736df0d33d 100644 --- a/legacy/eina/src/lib/eina_module.c +++ b/legacy/eina/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);