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:
parent
3ffa277186
commit
df27d48e00
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user