Module Name:    src
Committed By:   wiz
Date:           Mon Oct 30 15:48:38 UTC 2017

Modified Files:
        src/lib/libc/sys: chroot.2

Log Message:
Sort errors.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/chroot.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/chroot.2
diff -u src/lib/libc/sys/chroot.2:1.24 src/lib/libc/sys/chroot.2:1.25
--- src/lib/libc/sys/chroot.2:1.24	Wed Oct 25 17:20:52 2017
+++ src/lib/libc/sys/chroot.2	Mon Oct 30 15:48:38 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: chroot.2,v 1.24 2017/10/25 17:20:52 abhinav Exp $
+.\"	$NetBSD: chroot.2,v 1.25 2017/10/30 15:48:38 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -80,8 +80,15 @@ is set to indicate an error.
 .Fn chroot
 will fail and the root directory will be unchanged if:
 .Bl -tag -width Er
-.It Bq Er ENOTDIR
-A component of the path name is not a directory.
+.It Bq Er EACCES
+Search permission is denied for any component of the path name.
+.It Bq Er EFAULT
+.Fa dirname
+points outside the process's allocated address space.
+.It Bq Er EIO
+An I/O error occurred while reading from or writing to the file system.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating the pathname.
 .It Bq Er ENAMETOOLONG
 A component of a pathname exceeded
 .Brq Dv NAME_MAX
@@ -90,15 +97,8 @@ characters, or an entire path name excee
 characters.
 .It Bq Er ENOENT
 The named directory does not exist.
-.It Bq Er EACCES
-Search permission is denied for any component of the path name.
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating the pathname.
-.It Bq Er EFAULT
-.Fa dirname
-points outside the process's allocated address space.
-.It Bq Er EIO
-An I/O error occurred while reading from or writing to the file system.
+.It Bq Er ENOTDIR
+A component of the path name is not a directory.
 .It Bq Er EPERM
 The effective user ID of the calling process is not the super-user.
 .El

Reply via email to