Module Name: src
Committed By: wiz
Date: Fri Jun 3 08:07:48 UTC 2011
Modified Files:
src/lib/libc/sys: getpeername.2
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/getpeername.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/getpeername.2
diff -u src/lib/libc/sys/getpeername.2:1.20 src/lib/libc/sys/getpeername.2:1.21
--- src/lib/libc/sys/getpeername.2:1.20 Fri Jun 3 05:50:07 2011
+++ src/lib/libc/sys/getpeername.2 Fri Jun 3 08:07:48 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: getpeername.2,v 1.20 2011/06/03 05:50:07 jruoho Exp $
+.\" $NetBSD: getpeername.2,v 1.21 2011/06/03 08:07:48 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -107,20 +107,20 @@
The argument
.Fa s
is not a valid descriptor.
-.It Bq Er ENOTSOCK
-The argument
-.Fa s
-is a file, not a socket.
-.It Bq Er ENOTCONN
-The socket is not connected.
-.It Bq Er ENOBUFS
-Insufficient resources were available in the system
-to perform the operation.
.It Bq Er EFAULT
The
.Fa name
parameter points to memory not in a valid part of the
process address space.
+.It Bq Er ENOBUFS
+Insufficient resources were available in the system
+to perform the operation.
+.It Bq Er ENOTCONN
+The socket is not connected.
+.It Bq Er ENOTSOCK
+The argument
+.Fa s
+is a file, not a socket.
.El
.Sh SEE ALSO
.Xr accept 2 ,