summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/nsstest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/nsstest.c b/source3/torture/nsstest.c
index 3aeaa177a1..c9b068aa04 100644
--- a/source3/torture/nsstest.c
+++ b/source3/torture/nsstest.c
@@ -35,13 +35,13 @@ static void *find_fn(const char *name)
snprintf(s,sizeof(s), "_nss_%s_%s", nss_name, name);
if (!h) {
- h = dlopen(so_path, RTLD_LAZY);
+ h = sys_dlopen(so_path, RTLD_LAZY);
}
if (!h) {
printf("Can't open shared library %s\n", so_path);
exit(1);
}
- res = dlsym(h, s);
+ res = sys_dlsym(h, s);
if (!res) {
printf("Can't find function %s\n", s);
return NULL;