From bcc2779c4a40a06cb26092268af2c71201e0e919 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 8 Jun 2020 13:41:58 +0200 Subject: [PATCH] dlsym: fix the snd_dlopen(), incorrect variable use Signed-off-by: Jaroslav Kysela --- src/dlmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.1