mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
ltdl-bind-now: Log an error in case of failures
This commit is contained in:
parent
cfb609d4f6
commit
dc68fcb33f
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ static lt_module bind_now_open(lt_user_data d, const char *fname, lt_dladvise ad
|
||||||
pa_assert(fname);
|
pa_assert(fname);
|
||||||
|
|
||||||
if (!(m = dlopen(fname, PA_BIND_NOW))) {
|
if (!(m = dlopen(fname, PA_BIND_NOW))) {
|
||||||
|
pa_log(_("Failed to open module %s: %s"), fname, dlerror());
|
||||||
lt_dlseterror(LT_ERROR_CANNOT_OPEN);
|
lt_dlseterror(LT_ERROR_CANNOT_OPEN);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue