summaryrefslogtreecommitdiff
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
commitabdc476df3f7030898bcdd2a7b984beaaff9c183 (patch)
tree5cacd34089a1af935e57ce45386a17225dad6660
parent7a6a5bc6d758d278e4b39806978ea2b3eeaaaf9d (diff)
downloadsamba-abdc476df3f7030898bcdd2a7b984beaaff9c183.tar.gz
samba-abdc476df3f7030898bcdd2a7b984beaaff9c183.tar.bz2
samba-abdc476df3f7030898bcdd2a7b984beaaff9c183.zip
Get the sco boxes compiling again - use the sys_ intefaces for all the dl*
funcitons. (This used to be commit c37c1e39253d9d21f8ab38ab8d24f7e787008596)
-rw-r--r--source3/smbd/conn.c2
-rw-r--r--source3/smbd/vfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c
index f552d4a224..c0aa447016 100644
--- a/source3/smbd/conn.c
+++ b/source3/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/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 4e2e353ed8..1d1e1e45fc 100644
--- a/source3/smbd/vfs.c
+++ b/source3/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;
}