From ef0180ed69a215ebfb395d4d37b1c91d65bfaaba Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Fri, 13 Apr 2001 19:49:07 +0000
Subject: [PATCH] mdoc(7) police: rename the DIAGNOSTICS section to ERRORS to
match the content, and correct the parameters to the -tag list therein.
Reviewed by: ru
---
share/man/man4/icmp.4 | 4 ++--
share/man/man4/icmp6.4 | 4 ++--
share/man/man4/ip.4 | 4 ++--
share/man/man4/ip6.4 | 4 ++--
share/man/man4/tcp.4 | 4 ++--
share/man/man4/udp.4 | 4 ++--
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4
index 51c3bab6a303..c0c01d313e6d 100644
--- a/share/man/man4/icmp.4
+++ b/share/man/man4/icmp.4
@@ -87,9 +87,9 @@ them (based on the destination address).
Incoming packets are received with the
.Tn IP
header and options intact.
-.Sh DIAGNOSTICS
+.Sh ERRORS
A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
+.Bl -tag -width Er
.It Bq Er EISCONN
when trying to establish a connection on a socket which
already has one, or when trying to send a datagram with the destination
diff --git a/share/man/man4/icmp6.4 b/share/man/man4/icmp6.4
index c7780001bf5a..050e3eebfcd2 100644
--- a/share/man/man4/icmp6.4
+++ b/share/man/man4/icmp6.4
@@ -218,9 +218,9 @@ message types to the application.
.Pp
For further discussions see RFC2292.
.\"
-.Sh DIAGNOSTICS
+.Sh ERRORS
A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
+.Bl -tag -width Er
.It Bq Er EISCONN
when trying to establish a connection on a socket which
already has one, or when trying to send a datagram with the destination
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index c194034f7a13..02d2a64479cb 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -372,9 +372,9 @@ ip->ip_off = offset;
If the header source address is set to
.Dv INADDR_ANY ,
the kernel will choose an appropriate address.
-.Sh DIAGNOSTICS
+.Sh ERRORS
A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
+.Bl -tag -width Er
.It Bq Er EISCONN
when trying to establish a connection on a socket which
already has one, or when trying to send a datagram with the destination
diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4
index d75f2ed045fb..37084c9f357f 100644
--- a/share/man/man4/ip6.4
+++ b/share/man/man4/ip6.4
@@ -617,9 +617,9 @@ ICMPv6 socket, applications are not able to generate ICMPv6 packets
with incorrect checksums (presumably for testing purposes) using this
API.
.\"
-.Sh DIAGNOSTICS
+.Sh ERRORS
A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
+.Bl -tag -width Er
.It Bq Er EISCONN
when trying to establish a connection on a socket which already
has one, or when trying to send a datagram with the destination
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index 9a91ebaf5f1d..0de8be4a72d7 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -232,9 +232,9 @@ as described in RFC 2582.
.It tcp.path_mtu_discovery
Enable Path MTU Discovery
.El
-.Sh DIAGNOSTICS
+.Sh ERRORS
A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
+.Bl -tag -width Er
.It Bq Er EISCONN
when trying to establish a connection on a socket which
already has one;
diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4
index 2bb708529570..a77fa3e33c57 100644
--- a/share/man/man4/udp.4
+++ b/share/man/man4/udp.4
@@ -101,9 +101,9 @@ transport level may be used with
.Tn UDP ;
see
.Xr ip 4 .
-.Sh DIAGNOSTICS
+.Sh ERRORS
A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
+.Bl -tag -width Er
.It Bq Er EISCONN
when trying to establish a connection on a socket which
already has one, or when trying to send a datagram with the destination