diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-17 06:15:06 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-17 06:15:06 +0000 |
commit | c37c1e39253d9d21f8ab38ab8d24f7e787008596 (patch) | |
tree | d776d30231c5962fad34229338dae82551639ea1 | |
parent | 39c0218e5b4132e60401c2fc25fcbc88be94f87f (diff) | |
download | samba-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.c | 2 | ||||
-rw-r--r-- | source/smbd/vfs.c | 2 |
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; } |