summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-17 06:15:06 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-17 06:15:06 +0000
commitc37c1e39253d9d21f8ab38ab8d24f7e787008596 (patch)
treed776d30231c5962fad34229338dae82551639ea1
parent39c0218e5b4132e60401c2fc25fcbc88be94f87f (diff)
downloadsamba-c37c1e39253d9d21f8ab38ab8d24f7e787008596.tar.gz
samba-c37c1e39253d9d21f8ab38ab8d24f7e787008596.tar.xz
samba-c37c1e39253d9d21f8ab38ab8d24f7e787008596.zip
Get the sco boxes compiling again - use the sys_ intefaces for all the dl*
funcitons.
-rw-r--r--source/smbd/conn.c2
-rw-r--r--source/smbd/vfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/conn.c b/source/smbd/conn.c
index f552d4a2243..c0aa4470160 100644
--- a/source/smbd/conn.c
+++ b/source/smbd/conn.c
@@ -166,7 +166,7 @@ void conn_free(connection_struct *conn)
if (conn->dl_handle != NULL) {
/* Close dlopen() handle */
- dlclose(conn->dl_handle);
+ sys_dlclose(conn->dl_handle);
}
DLIST_REMOVE(Connections, conn);
diff --git a/source/smbd/vfs.c b/source/smbd/vfs.c
index 4e2e353ed8a..1d1e1e45fc0 100644
--- a/source/smbd/vfs.c
+++ b/source/smbd/vfs.c
@@ -139,7 +139,7 @@ static BOOL vfs_init_custom(connection_struct *conn)
/* Open object file */
if ((conn->dl_handle = sys_dlopen(lp_vfsobj(SNUM(conn)), RTLD_NOW | RTLD_GLOBAL)) == NULL) {
- DEBUG(0, ("Error opening %s: %s\n", lp_vfsobj(SNUM(conn)), dlerror()));
+ DEBUG(0, ("Error opening %s: %s\n", lp_vfsobj(SNUM(conn)), sys_dlerror()));
return False;
}