summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-22 16:11:26 +0000
committermidipix <writeonce@midipix.org>2025-06-22 16:11:26 +0000
commit6cb9bf45ad3b048ce52c313e5735162db7226bd3 (patch)
treec5d8f9f0b67acacfc29c648b60508d47eff0654d /src/core
parent119aabcb74c9644e3a6d03d6f87d8d9aba6d35a7 (diff)
downloadsltdl-6cb9bf45ad3b048ce52c313e5735162db7226bd3.tar.bz2
sltdl-6cb9bf45ad3b048ce52c313e5735162db7226bd3.tar.xz
lt_dlpreload_modctl(): the internal mode param is not semantically overloaded.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lt_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lt_path.c b/src/core/lt_path.c
index 0991e95..2aa9a2b 100644
--- a/src/core/lt_path.c
+++ b/src/core/lt_path.c
@@ -653,7 +653,7 @@ static int lt_dlpreload_modctl_locked(
? 0 : -1;
case SLTDL_MODCTL_PRELOAD_DEFAULT:
- if (!(modctx = lt_dlopen_locked(symtbl,0,0,(-1))))
+ if (!(modctx = lt_dlopen_locked(symtbl,0,0,0)))
return -1;
modctx->mrefs = -1;