1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

more dl* -> sys_dl* for sco

(This used to be commit 92eead1a0a93a6191fbd7b413f0736eb1a716b8e)
This commit is contained in:
Andrew Bartlett 2002-05-17 10:54:26 +00:00
parent 3ffa277186
commit df27d48e00

View 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;