From 22301c4b46492d388c25c430f339e877dce06d5d Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 23 Nov 1997 17:58:55 +0000 Subject: [PATCH] Fixed spelling of EACCES. --- lib/libc/gen/getcwd.3 | 7 ++++--- lib/libc/gen/msgctl.3 | 6 ++++-- lib/libc/gen/msgrcv.3 | 6 ++++-- lib/libc/gen/msgsnd.3 | 6 ++++-- lib/libc/sys/socket.2 | 6 +++--- share/man/man9/VOP_LOOKUP.9 | 6 +++--- 6 files changed, 22 insertions(+), 15 deletions(-) diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3 index 8b385be52957..55d50877d1b3 100644 --- a/lib/libc/gen/getcwd.3 +++ b/lib/libc/gen/getcwd.3 @@ -30,8 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)getcwd.3 8.2 (Berkeley) 12/11/93 +.\" $Id$ .\" -.Dd December 11, 1993 +.Dd November 24, 1997 .Dt GETCWD 3 .Os BSD 4.2 .Sh NAME @@ -108,8 +109,8 @@ The .Fn getcwd function will fail if: -.Bl -tag -width [EACCESS] -.It Bq Er EACCESS +.Bl -tag -width [EACCES] +.It Bq Er EACCES Read or search permission was denied for a component of the pathname. .It Bq Er EINVAL The diff --git a/lib/libc/gen/msgctl.3 b/lib/libc/gen/msgctl.3 index c505e7d6716b..130b1f248ac7 100644 --- a/lib/libc/gen/msgctl.3 +++ b/lib/libc/gen/msgctl.3 @@ -28,8 +28,10 @@ .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" $Id$ .\"/ -.Dd August 17, 1995 +.Dd November 24, 1997 .Dt MSGCTL 3 .Os FreeBSD .Sh NAME @@ -186,7 +188,7 @@ An attempt is made to increase the value of .Va msg_qbytes through IPC_SET but the caller is not the super-user. -.It Bq Er EACCESS +.It Bq Er EACCES The command is IPC_STAT and the caller has no read permission for this message queue. .It Bq Er EINVAL diff --git a/lib/libc/gen/msgrcv.3 b/lib/libc/gen/msgrcv.3 index 11099ca3341f..ff09309d584f 100644 --- a/lib/libc/gen/msgrcv.3 +++ b/lib/libc/gen/msgrcv.3 @@ -28,8 +28,10 @@ .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" $Id$ +.\" .\"/ -.Dd August 17, 1995 +.Dd November 24, 1997 .Dt MSGRCV 3 .Os FreeBSD .Sh NAME @@ -172,7 +174,7 @@ and the .Dv MSG_NOERROR flag was not set in .Fa msgflg . -.It Bq Er EACCESS +.It Bq Er EACCES The calling process does not have read access to the message queue. .It Bq Er EFAULT .Fa msgp diff --git a/lib/libc/gen/msgsnd.3 b/lib/libc/gen/msgsnd.3 index 5a3c80c9f2e5..551bd02009b4 100644 --- a/lib/libc/gen/msgsnd.3 +++ b/lib/libc/gen/msgsnd.3 @@ -28,8 +28,10 @@ .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" $Id$ +.\" .\"/ -.Dd August 17, 1995 +.Dd November 24, 1997 .Dt MSGSND 3 .Os FreeBSD .Sh NAME @@ -133,7 +135,7 @@ message. .Fa msgsz is less than 0, or greater than .Va msg_qbytes . -.It Bq Er EACCESS +.It Bq Er EACCES The calling process does not have write access to the message queue. .It Bq Er EAGAIN There was no space for this message either on the queue, or in the whole diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index fb6e4faa5815..c49004c8aa9e 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)socket.2 8.1 (Berkeley) 6/4/93 -.\" $Id: socket.2,v 1.6 1997/02/22 15:04:28 peter Exp $ +.\" $Id: socket.2,v 1.7 1997/03/24 01:22:01 jmg Exp $ .\" -.Dd February 15, 1995 +.Dd November 24, 1997 .Dt SOCKET 2 .Os BSD 4.2 .Sh NAME @@ -230,7 +230,7 @@ within this domain. The per-process descriptor table is full. .It Bq Er ENFILE The system file table is full. -.It Bq Er EACCESS +.It Bq Er EACCES Permission to create a socket of the specified type and/or protocol is denied. .It Bq Er ENOBUFS diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9 index 8774a2f1cf52..e1d4f462ca90 100644 --- a/share/man/man9/VOP_LOOKUP.9 +++ b/share/man/man9/VOP_LOOKUP.9 @@ -26,9 +26,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: VOP_LOOKUP.9,v 1.4 1997/04/13 14:48:54 bde Exp $ +.\" $Id: VOP_LOOKUP.9,v 1.5 1997/09/29 10:10:53 wosch Exp $ .\" -.Dd July 24, 1996 +.Dd November 24, 1997 .Os FreeBSD .Dt VOP_LOOKUP 9 .Sh NAME @@ -420,7 +420,7 @@ does not represent a directory. The component .Fa dvp was not found in this directory. -.It Bq Er EACCESS +.It Bq Er EACCES access for the specified operation is denied. .It Bq Er EJUSTRETURN a