From 6cb9bf45ad3b048ce52c313e5735162db7226bd3 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 22 2025 16:11:26 +0000 Subject: lt_dlpreload_modctl(): the internal mode param is not semantically overloaded. --- 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;