summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorzont <zont@FreeBSD.org>2013-01-15 14:09:08 +0000
committerzont <zont@FreeBSD.org>2013-01-15 14:09:08 +0000
commit01fbf755f7ffdfa6fff78e7de2f20c60f11b2605 (patch)
treee98ae64a28c0acfb7821324ca73ec18334ed7f73 /lib/libc
parent5e5b6a92498c32ac0c540317d76421cb9029b2df (diff)
downloadFreeBSD-src-01fbf755f7ffdfa6fff78e7de2f20c60f11b2605.zip
FreeBSD-src-01fbf755f7ffdfa6fff78e7de2f20c60f11b2605.tar.gz
- Use standard RETURN VALUES section.
Approved by: kib (mentor) MFC after: 1 week
Diffstat (limited to 'lib/libc')
-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 060d064..36d0364 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
OpenPOWER on IntegriCloud