forked from enlightenment/efl
eina: failing to load a module is actually an ERR that user should see.
This commit is contained in:
parent
48443fda8f
commit
eed23765f9
|
@ -324,7 +324,7 @@ EAPI Eina_Bool eina_module_load(Eina_Module *m)
|
||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
if (!stat(m->file, &st))
|
if (!stat(m->file, &st))
|
||||||
WRN("could not dlopen(\"%s\", %s): %s", m->file, dlerror(),
|
ERR("could not dlopen(\"%s\", %s): %s", m->file, dlerror(),
|
||||||
(flag == RTLD_NOW) ? "RTLD_NOW" : "RTLD_LAZY");
|
(flag == RTLD_NOW) ? "RTLD_NOW" : "RTLD_LAZY");
|
||||||
else
|
else
|
||||||
DBG("could not dlopen(\"%s\", %s): %s", m->file, dlerror(),
|
DBG("could not dlopen(\"%s\", %s): %s", m->file, dlerror(),
|
||||||
|
|
Loading…
Reference in New Issue