From cb2fd06daa26b644be5fba729db1cfbbdd59fef5 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 16 Sep 2019 04:59:32 +0000 Subject: Sort errors. --- lib/libc/sys/open.2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/libc/sys') diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 7d46296a965..b5151e1ce25 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -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 -- cgit