summaryrefslogtreecommitdiff
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authorAndrey Zonov <zont@FreeBSD.org>2013-01-15 14:09:08 +0000
committerAndrey Zonov <zont@FreeBSD.org>2013-01-15 14:09:08 +0000
commit69d649baa91bc6946d2a68fedc94aa1b3b9942ca (patch)
treee98ae64a28c0acfb7821324ca73ec18334ed7f73 /lib/libc/sys/chroot.2
parent0165f660c150a82bc8487835f1d23b397bff5c9f (diff)
Notes
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.28
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 060d0648e53e..36d0364bd7f4 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -92,12 +92,8 @@ system call.
Any other value for
.Ql kern.chroot_allow_open_directories
will bypass the check for open directories
-.Pp
-Upon successful completion, a value of 0 is returned.
-Otherwise,
-a value of -1 is returned and
-.Va errno
-is set to indicate an error.
+.Sh RETURN VALUES
+.Rv -std
.Sh ERRORS
The
.Fn chroot