Module Name: src
Committed By: wiz
Date: Mon Sep 16 04:59:33 UTC 2019
Modified Files:
src/lib/libc/sys: open.2
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/lib/libc/sys/open.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/open.2
diff -u src/lib/libc/sys/open.2:1.61 src/lib/libc/sys/open.2:1.62
--- src/lib/libc/sys/open.2:1.61 Sun Sep 15 20:53:24 2019
+++ src/lib/libc/sys/open.2 Mon Sep 16 04:59:32 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: open.2,v 1.61 2019/09/15 20:53:24 christos Exp $
+.\" $NetBSD: open.2,v 1.62 2019/09/16 04:59:32 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -433,14 +433,6 @@ In addition,
.Fn openat
will fail if:
.Bl -tag -width Er
-.It Bq Er EINVAL
-An attempt was made to open a descriptor with an illegal combination
-of
-.Dv O_RDONLY ,
-.Dv O_WRONLY ,
-.Dv O_RDWR
-and
-.Dv O_EXEC .
.It Bq Er EBADF
.Fa path
does not specify an absolute path and
@@ -448,6 +440,14 @@ does not specify an absolute path and
is neither
.Dv AT_FDCWD
nor a valid file descriptor open for reading or searching.
+.It Bq Er EINVAL
+An attempt was made to open a descriptor with an illegal combination
+of
+.Dv O_RDONLY ,
+.Dv O_WRONLY ,
+.Dv O_RDWR ,
+and
+.Dv O_EXEC .
.It Bq Er ENOTDIR
.Fa path
is not an absolute path and