ltdl-bind-now: Log an error in case of failures

This commit is contained in:
Tanu Kaskinen 2013-03-12 19:05:58 +02:00
parent cfb609d4f6
commit dc68fcb33f

View file

@ -74,6 +74,7 @@ static lt_module bind_now_open(lt_user_data d, const char *fname, lt_dladvise ad
pa_assert(fname);
if (!(m = dlopen(fname, PA_BIND_NOW))) {
pa_log(_("Failed to open module %s: %s"), fname, dlerror());
lt_dlseterror(LT_ERROR_CANNOT_OPEN);
return NULL;
}