summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
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;