summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:46:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:46:09 +0100
commit6a2caa34b24c2225dba9da011eaa5cc3eb8752be (patch)
treec9b5b333cfdc545b6526f7ead67f39a1017e25a1 /source3/smbd
parentc2a4db0c633f4cf01834c851efd07b7d891ce737 (diff)
downloadsamba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.tar.gz
samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.tar.bz2
samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.zip
Remove sys_chroot() - libreplace already provides an alternative.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 4e81263ee4..7583da65a5 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1415,7 +1415,7 @@ extern void build_options(bool screen);
}
if (*lp_rootdir()) {
- if (sys_chroot(lp_rootdir()) == 0)
+ if (chroot(lp_rootdir()) == 0)
DEBUG(2,("Changed root to %s\n", lp_rootdir()));
}