summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-05-22 13:20:56 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-05-22 13:21:52 -0400
commite5eed1b7c318ea7215ede28ebc91b83120d34a85 (patch)
treebd5d4ca59b3bac3cd4004c1703751ef11fff5a83 /src/lib/eina
parenta7dea04b2642397d3d545e2dbd0885939180d76c (diff)
eina: change module init error message to an info message
a module deciding to return false is a valid non-error case for many modules. the module can print an error if an error occurs
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_module.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/eina/eina_module.c b/src/lib/eina/eina_module.c
index 65c18abf7c..9bc73b65ff 100644
--- a/src/lib/eina/eina_module.c
+++ b/src/lib/eina/eina_module.c
@@ -72,6 +72,11 @@ static int EINA_MODULE_LOG_DOM = -1;
72#endif 72#endif
73#define WRN(...) EINA_LOG_DOM_WARN(EINA_MODULE_LOG_DOM, __VA_ARGS__) 73#define WRN(...) EINA_LOG_DOM_WARN(EINA_MODULE_LOG_DOM, __VA_ARGS__)
74 74
75#ifdef INF
76#undef INF
77#endif
78#define INF(...) EINA_LOG_DOM_INFO(EINA_MODULE_LOG_DOM, __VA_ARGS__)
79
75#ifdef DBG 80#ifdef DBG
76#undef DBG 81#undef DBG
77#endif 82#endif
@@ -337,8 +342,7 @@ EAPI Eina_Bool eina_module_load(Eina_Module *m)
337 if ((*initcall)() == EINA_TRUE) 342 if ((*initcall)() == EINA_TRUE)
338 goto ok; 343 goto ok;
339 344
340 ERR("could not find eina's entry symbol %s inside module %s, or the init function failed", 345 INF("init function returned false for %s", m->file);
341 EINA_MODULE_SYMBOL_INIT, m->file);
342 dlclose(dl_handle); 346 dlclose(dl_handle);
343 return EINA_FALSE; 347 return EINA_FALSE;
344ok: 348ok: