diff options
author | Jaroslav Kysela <perex@perex.cz> | 2020-06-08 13:41:58 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2020-06-08 13:41:58 +0200 |
commit | bcc2779c4a40a06cb26092268af2c71201e0e919 (patch) | |
tree | eb561ec4e5239872b1a9a7db029e268052817c5d | |
parent | 6b6d91cdf30fe921b5d6447ced515e48eb6828b8 (diff) | |
download | alsa-lib-bcc2779c4a40a06cb26092268af2c71201e0e919.tar.gz |
dlsym: fix the snd_dlopen(), incorrect variable use
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | src/dlmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlmisc.c b/src/dlmisc.c index 2c7dc319..5d672146 100644 --- a/src/dlmisc.c +++ b/src/dlmisc.c @@ -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 */ |