mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
module: Don't use lt_dlerror(), it's useless
This commit is contained in:
parent
135afa28e7
commit
cfb609d4f6
1 changed files with 7 additions and 1 deletions
|
|
@ -66,7 +66,13 @@ pa_module* pa_module_load(pa_core *c, const char *name, const char *argument) {
|
|||
m->proplist = pa_proplist_new();
|
||||
|
||||
if (!(m->dl = lt_dlopenext(name))) {
|
||||
pa_log("Failed to open module \"%s\": %s", name, lt_dlerror());
|
||||
/* We used to print the error that is returned by lt_dlerror(), but
|
||||
* lt_dlerror() is useless. It returns pretty much always "file not
|
||||
* found". That's because if there are any problems with loading the
|
||||
* module with normal loaders, libltdl falls back to the "preload"
|
||||
* loader, which never finds anything, and therefore says "file not
|
||||
* found". */
|
||||
pa_log("Failed to open module \"%s\".", name);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue