diff options
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r-- | lib/libc/sys/chroot.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index d8763fe..10a9b5e 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -71,8 +71,8 @@ will fail and the root directory will be unchanged if: .Bl -tag -width [ENOTDIR] .It Bq Er ENOTDIR A component of the path name is not a directory. -.It Bq Er EINVAL -The pathname contains a character with the high-order bit set. +.It Bq Er EPERM +The effective user ID is not the super-user. .It Bq Er ENAMETOOLONG A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. @@ -92,6 +92,6 @@ An I/O error occurred while reading from or writing to the file system. .Xr chdir 2 .Sh HISTORY The -.Nm +.Fn chroot function call appeared in .Bx 4.2 . |