more dl* -> sys_dl* for sco
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 May 2002 10:54:26 +0000 (10:54 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 May 2002 10:54:26 +0000 (10:54 +0000)
(This used to be commit 92eead1a0a93a6191fbd7b413f0736eb1a716b8e)

source3/torture/nsstest.c

index 3aeaa177a13681c3ce38c4af3864c522b86fc261..c9b068aa046a9c92622832e6a9ec2bceff4d0c67 100644 (file)
@@ -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;