diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:46:09 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:46:09 +0100 |
commit | 6a2caa34b24c2225dba9da011eaa5cc3eb8752be (patch) | |
tree | c9b5b333cfdc545b6526f7ead67f39a1017e25a1 /source3/smbd | |
parent | c2a4db0c633f4cf01834c851efd07b7d891ce737 (diff) | |
download | samba-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.c | 2 |
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())); } |