mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
dlsym: fix the snd_dlopen(), incorrect variable use
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
6b6d91cdf3
commit
bcc2779c4a
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ void *snd_dlopen(const char *name, int mode, char *errbuf, size_t errbuflen)
|
|||
|
||||
if (name && name[0] != '/') {
|
||||
if (snd_dlpath(path, sizeof(path), name) == 0) {
|
||||
filename = name;
|
||||
filename = path;
|
||||
handle = dlopen(filename, mode);
|
||||
if (!handle) {
|
||||
/* if the filename exists and cannot be opened */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue