summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-17 07:44:44 +0000
committerru <ru@FreeBSD.org>2005-01-17 07:44:44 +0000
commit6cc4b6c220d4e49fad2881c7dc754fa560248ef8 (patch)
treef5a5fbfda9358c31fa2746d0671fe366bb17d243 /usr.sbin
parent63a9efe25ce06fd299e33aba75e3dd445d67484c (diff)
downloadFreeBSD-src-6cc4b6c220d4e49fad2881c7dc754fa560248ef8.zip
FreeBSD-src-6cc4b6c220d4e49fad2881c7dc754fa560248ef8.tar.gz
Added the EXIT STATUS section where appropriate.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ac/ac.82
-rw-r--r--usr.sbin/bluetooth/bcmfw/bcmfw.82
-rw-r--r--usr.sbin/bluetooth/bt3cfw/bt3cfw.82
-rw-r--r--usr.sbin/bluetooth/bthidcontrol/bthidcontrol.82
-rw-r--r--usr.sbin/bluetooth/hccontrol/hccontrol.82
-rw-r--r--usr.sbin/bluetooth/l2control/l2control.82
-rw-r--r--usr.sbin/bluetooth/l2ping/l2ping.82
-rw-r--r--usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.82
-rw-r--r--usr.sbin/bluetooth/sdpcontrol/sdpcontrol.82
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.82
-rw-r--r--usr.sbin/boot98cfg/boot98cfg.82
-rw-r--r--usr.sbin/btxld/btxld.82
-rw-r--r--usr.sbin/chkgrp/chkgrp.82
-rw-r--r--usr.sbin/chown/chgrp.12
-rw-r--r--usr.sbin/chown/chown.82
-rw-r--r--usr.sbin/ckdist/ckdist.12
-rw-r--r--usr.sbin/ctm/ctm_rmail/ctm_rmail.14
-rw-r--r--usr.sbin/daemon/daemon.83
-rw-r--r--usr.sbin/faithd/faithd.82
-rw-r--r--usr.sbin/fdread/fdread.14
-rw-r--r--usr.sbin/flowctl/flowctl.82
-rw-r--r--usr.sbin/gstat/gstat.82
-rw-r--r--usr.sbin/i4b/isdnd/isdnd.82
-rw-r--r--usr.sbin/i4b/isdnmonitor/isdnmonitor.82
-rw-r--r--usr.sbin/ip6addrctl/ip6addrctl.82
-rw-r--r--usr.sbin/kgzip/kgzip.82
-rw-r--r--usr.sbin/mergemaster/mergemaster.82
-rw-r--r--usr.sbin/mtree/mtree.82
-rw-r--r--usr.sbin/ndp/ndp.82
-rw-r--r--usr.sbin/nfsd/nfsd.82
-rw-r--r--usr.sbin/ngctl/ngctl.82
-rw-r--r--usr.sbin/pcvt/ispcvt/ispcvt.82
-rw-r--r--usr.sbin/periodic/periodic.85
-rw-r--r--usr.sbin/pkg_install/sign/pkg_sign.13
-rw-r--r--usr.sbin/pw/pw.82
-rw-r--r--usr.sbin/rtprio/rtprio.12
-rw-r--r--usr.sbin/sa/sa.82
-rw-r--r--usr.sbin/setkey/setkey.82
-rw-r--r--usr.sbin/smbmsg/smbmsg.83
39 files changed, 46 insertions, 42 deletions
diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8
index 969e612..cfc5f29 100644
--- a/usr.sbin/ac/ac.8
+++ b/usr.sbin/ac/ac.8
@@ -121,7 +121,7 @@ allows times recorded in
.Pa modems
to be charged out at a different rate than
.Pa other .
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh FILES
.Bl -tag -width /var/log/wtmp -compact
diff --git a/usr.sbin/bluetooth/bcmfw/bcmfw.8 b/usr.sbin/bluetooth/bcmfw/bcmfw.8
index a0661c2..14a3012 100644
--- a/usr.sbin/bluetooth/bcmfw/bcmfw.8
+++ b/usr.sbin/bluetooth/bcmfw/bcmfw.8
@@ -96,7 +96,7 @@ device:
.Sh BUGS
Most likely.
Please report if found.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr ubtbcmfw 4 ,
diff --git a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8
index 74aa6d7..a5c2438 100644
--- a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8
+++ b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8
@@ -65,7 +65,7 @@ Connect to the specified Netgraph driver node of type
.El
.Sh BUGS
Please report if found.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr ng_bt3c 4
diff --git a/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8 b/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8
index 95327df..3b17174 100644
--- a/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8
+++ b/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8
@@ -86,7 +86,7 @@ are:
.It Cm Known
.It Cm Forget
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh FILES
.Bl -tag -width ".Pa /etc/bluetooth/bthidd.conf" -compact
diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.8 b/usr.sbin/bluetooth/hccontrol/hccontrol.8
index 65cc53f..326d417 100644
--- a/usr.sbin/bluetooth/hccontrol/hccontrol.8
+++ b/usr.sbin/bluetooth/hccontrol/hccontrol.8
@@ -171,7 +171,7 @@ are:
.Sh BUGS
Most likely.
Please report if found.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr bluetooth 3 ,
diff --git a/usr.sbin/bluetooth/l2control/l2control.8 b/usr.sbin/bluetooth/l2control/l2control.8
index e98f301..794b6a7 100644
--- a/usr.sbin/bluetooth/l2control/l2control.8
+++ b/usr.sbin/bluetooth/l2control/l2control.8
@@ -84,7 +84,7 @@ are:
.It Cm Read_Auto_Disconnect_Timeout
.It Cm Write_Auto_Disconnect_Timeout
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr netgraph 3 ,
diff --git a/usr.sbin/bluetooth/l2ping/l2ping.8 b/usr.sbin/bluetooth/l2ping/l2ping.8
index c033892..5d30239 100644
--- a/usr.sbin/bluetooth/l2ping/l2ping.8
+++ b/usr.sbin/bluetooth/l2ping/l2ping.8
@@ -103,7 +103,7 @@ Some implementations may not like large sizes and may hang or even crash.
.Sh BUGS
Could collect more statistic.
Could check for duplicated, corrupted and lost packets.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr bluetooth 3 ,
diff --git a/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 b/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
index d9b8777..deb0550 100644
--- a/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
+++ b/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
@@ -305,7 +305,7 @@ in
mode with
.Dq Li rfcomm-client
label.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh CAVEAT
The
diff --git a/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8 b/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8
index 1f75eea..38c802f 100644
--- a/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8
+++ b/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8
@@ -109,7 +109,7 @@ Protocol Descriptor List
.It
Bluetooth Profile Descriptor List
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr bluetooth 3 ,
diff --git a/usr.sbin/boot0cfg/boot0cfg.8 b/usr.sbin/boot0cfg/boot0cfg.8
index 9bfc8cb..7b92b6b 100644
--- a/usr.sbin/boot0cfg/boot0cfg.8
+++ b/usr.sbin/boot0cfg/boot0cfg.8
@@ -161,7 +161,7 @@ To boot slice 2 on the next boot:
To enable just slices 1 and 2 in the menu:
.Pp
.Dl "boot0cfg -m 0x3 ad0"
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr boot 8 ,
diff --git a/usr.sbin/boot98cfg/boot98cfg.8 b/usr.sbin/boot98cfg/boot98cfg.8
index 5a27443..5fb9a6a 100644
--- a/usr.sbin/boot98cfg/boot98cfg.8
+++ b/usr.sbin/boot98cfg/boot98cfg.8
@@ -97,7 +97,7 @@ The default sector size is 512
.Sh SEE ALSO
.Xr boot 8 ,
.Xr fdisk 8
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh AUTHORS
.An NOKUBI Hirotaka ,
diff --git a/usr.sbin/btxld/btxld.8 b/usr.sbin/btxld/btxld.8
index eee0355..4a0333a 100644
--- a/usr.sbin/btxld/btxld.8
+++ b/usr.sbin/btxld/btxld.8
@@ -92,7 +92,7 @@ combined .text and .data segments of the client image.
.Sh SEE ALSO
.Xr ld 1 ,
.Xr boot 8
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh AUTHORS
.An Robert Nordier Aq rnordier@FreeBSD.org .
diff --git a/usr.sbin/chkgrp/chkgrp.8 b/usr.sbin/chkgrp/chkgrp.8
index e7a1606..2574237 100644
--- a/usr.sbin/chkgrp/chkgrp.8
+++ b/usr.sbin/chkgrp/chkgrp.8
@@ -60,7 +60,7 @@ will print an error message containing the name of the file being
scanned and the line number on which the error was found.
Otherwise no
output is produced.
-.Pp
+.Sh EXIT STATUS
The
.Nm
utility returns
diff --git a/usr.sbin/chown/chgrp.1 b/usr.sbin/chown/chgrp.1
index f085bff..5cfaa30 100644
--- a/usr.sbin/chown/chgrp.1
+++ b/usr.sbin/chown/chgrp.1
@@ -113,7 +113,7 @@ The user invoking
.Nm
must belong to the specified group and be the owner of the file,
or be the super-user.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh COMPATIBILITY
In previous versions of this system, symbolic links did not have groups.
diff --git a/usr.sbin/chown/chown.8 b/usr.sbin/chown/chown.8
index d8abeb4..cb7e170 100644
--- a/usr.sbin/chown/chown.8
+++ b/usr.sbin/chown/chown.8
@@ -132,7 +132,7 @@ group name.
.Pp
The ownership of a file may only be altered by a super-user for
obvious security reasons.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh COMPATIBILITY
Previous versions of the
diff --git a/usr.sbin/ckdist/ckdist.1 b/usr.sbin/ckdist/ckdist.1
index f784a07..e52e20c 100644
--- a/usr.sbin/ckdist/ckdist.1
+++ b/usr.sbin/ckdist/ckdist.1
@@ -89,7 +89,7 @@ is either "md5" or "inf").
.Sh SEE ALSO
.Xr cksum 1 ,
.Xr md5 1
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
Exit status is 0 if no errors were detected, 1 if errors were found in
a distribution, and 2 if usage errors, inaccessible input files, or
other system errors were encountered.
diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.1 b/usr.sbin/ctm/ctm_rmail/ctm_rmail.1
index ed32729..1aaecc7 100644
--- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.1
+++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.1
@@ -438,7 +438,7 @@ Completed deltas.
File containing the name and number of the next delta to be applied to this
source tree.
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm ctm_smail ,
.Nm ctm_dequeue
@@ -456,7 +456,7 @@ apply a completed delta with
is not considered an error important enough to bounce the mail, and
.Nm ctm_rmail
returns an exit status of 0.
-.Pp
+.Sh DIAGNOSTICS
In normal operation,
.Nm ctm_smail
will report messages like:
diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8
index a1048fd..74b5b81 100644
--- a/usr.sbin/daemon/daemon.8
+++ b/usr.sbin/daemon/daemon.8
@@ -58,7 +58,7 @@ Note, that the file will be created shortly before the process is
actually executed, and will remain after the process exits (although
it will be removed if the execution fails).
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm
utility exits 1 if an error is returned by the
@@ -67,6 +67,7 @@ library routine, 2 if the
.Ar pidfile
is requested, but cannot be opened,
otherwise 0.
+.Sh DIAGNOSTICS
If the command cannot be executed, an error message is displayed on
standard error unless the
.Fl f
diff --git a/usr.sbin/faithd/faithd.8 b/usr.sbin/faithd/faithd.8
index e50d7b5..5d16989 100644
--- a/usr.sbin/faithd/faithd.8
+++ b/usr.sbin/faithd/faithd.8
@@ -268,7 +268,7 @@ the traffic will be denied.
With inetd mode,
traffic may be filtered by using access control functionality in
.Xr inetd 8 .
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm
utility exits with
diff --git a/usr.sbin/fdread/fdread.1 b/usr.sbin/fdread/fdread.1
index 090a91d..5a4ecc2 100644
--- a/usr.sbin/fdread/fdread.1
+++ b/usr.sbin/fdread/fdread.1
@@ -158,7 +158,7 @@ option.
.It Pa /dev/fd0
Default device to read from.
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm
utility sets the exit value according to
@@ -166,7 +166,7 @@ utility sets the exit value according to
In recovery mode, the exit value will be set to
.Dv EX_IOERR
if any error occurred during processing (even in quiet mode).
-.Pp
+.Sh DIAGNOSTICS
Unless running in quiet mode, upon encountering an error, the status
of the floppy disc controller (FDC) will be printed out, both in
hexadecimal form, followed by a textual description that translates
diff --git a/usr.sbin/flowctl/flowctl.8 b/usr.sbin/flowctl/flowctl.8
index 67f5bd5..c9104cb 100644
--- a/usr.sbin/flowctl/flowctl.8
+++ b/usr.sbin/flowctl/flowctl.8
@@ -62,7 +62,7 @@ This command is the analog of the
command of a Cisco router.
It dumps the contents of the flow cache in Cisco-like format.
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr netgraph 3 ,
diff --git a/usr.sbin/gstat/gstat.8 b/usr.sbin/gstat/gstat.8
index abdde06..b384075 100644
--- a/usr.sbin/gstat/gstat.8
+++ b/usr.sbin/gstat/gstat.8
@@ -69,7 +69,7 @@ or
(the default) indicates that the update interval is specified in
seconds, milliseconds, or microseconds, respectively.
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr geom 4
diff --git a/usr.sbin/i4b/isdnd/isdnd.8 b/usr.sbin/i4b/isdnd/isdnd.8
index 42c01f1..5b311fb 100644
--- a/usr.sbin/i4b/isdnd/isdnd.8
+++ b/usr.sbin/i4b/isdnd/isdnd.8
@@ -408,7 +408,7 @@ will start
with reasonable debugging messages enabled, full-screen mode of operation,
full-screen display redirected to /dev/ttyv3 and using a termcap entry
for vt100 on this display.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
Exit status is 0 on success, 1 on error.
.Sh SEE ALSO
.Xr i4bing 4 ,
diff --git a/usr.sbin/i4b/isdnmonitor/isdnmonitor.8 b/usr.sbin/i4b/isdnmonitor/isdnmonitor.8
index 1fb1b70..6a8b801 100644
--- a/usr.sbin/i4b/isdnmonitor/isdnmonitor.8
+++ b/usr.sbin/i4b/isdnmonitor/isdnmonitor.8
@@ -160,7 +160,7 @@ to monitor a locally running isdnd:
.Bd -literal -offset indent
isdnmonitor -h localhost
.Ed
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
Exit status is 0 on success, 1 on error.
.Sh SEE ALSO
.Xr isdnd 8
diff --git a/usr.sbin/ip6addrctl/ip6addrctl.8 b/usr.sbin/ip6addrctl/ip6addrctl.8
index 018743b..59154d4 100644
--- a/usr.sbin/ip6addrctl/ip6addrctl.8
+++ b/usr.sbin/ip6addrctl/ip6addrctl.8
@@ -104,7 +104,7 @@ are
comments and are ignored.
.El
.\"
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.\"
.Sh SEE ALSO
diff --git a/usr.sbin/kgzip/kgzip.8 b/usr.sbin/kgzip/kgzip.8
index 3537502..58811c1 100644
--- a/usr.sbin/kgzip/kgzip.8
+++ b/usr.sbin/kgzip/kgzip.8
@@ -129,7 +129,7 @@ The default loader
.Xr elf 5 ,
.Xr boot 8 ,
.Xr loader 8
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh AUTHORS
.An Robert Nordier Aq rnordier@FreeBSD.org .
diff --git a/usr.sbin/mergemaster/mergemaster.8 b/usr.sbin/mergemaster/mergemaster.8
index 699120b..8cd8b25 100644
--- a/usr.sbin/mergemaster/mergemaster.8
+++ b/usr.sbin/mergemaster/mergemaster.8
@@ -373,7 +373,7 @@ with all values commented out:
.%T The Cutting Edge (using make world)
.%A Nik Clayton
.Re
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
Exit status is 0 on successful completion, or if the user bails out
manually at some point during execution.
.Pp
diff --git a/usr.sbin/mtree/mtree.8 b/usr.sbin/mtree/mtree.8
index 124b45f..85a1fe8 100644
--- a/usr.sbin/mtree/mtree.8
+++ b/usr.sbin/mtree/mtree.8
@@ -341,7 +341,7 @@ distribution.
.It Pa /etc/mtree
system specification directory
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr chflags 1 ,
diff --git a/usr.sbin/ndp/ndp.8 b/usr.sbin/ndp/ndp.8
index b39625a..00dc926 100644
--- a/usr.sbin/ndp/ndp.8
+++ b/usr.sbin/ndp/ndp.8
@@ -225,7 +225,7 @@ Most useful when used with
.Fl A .
.El
.\"
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.\"
.Sh SEE ALSO
diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8
index df614e7..64c181e 100644
--- a/usr.sbin/nfsd/nfsd.8
+++ b/usr.sbin/nfsd/nfsd.8
@@ -172,7 +172,7 @@ If you have to kill
.Nm
just do a
.Dq Li "kill -USR1 <PID of master nfsd>"
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr nfsstat 1 ,
diff --git a/usr.sbin/ngctl/ngctl.8 b/usr.sbin/ngctl/ngctl.8
index 121c0f1..ce77069 100644
--- a/usr.sbin/ngctl/ngctl.8
+++ b/usr.sbin/ngctl/ngctl.8
@@ -124,7 +124,7 @@ The
.Dq help
command displays the available
commands, their usage and aliases, and a brief description.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr netgraph 3 ,
diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.8 b/usr.sbin/pcvt/ispcvt/ispcvt.8
index b9eee0a..8e73e09 100644
--- a/usr.sbin/pcvt/ispcvt/ispcvt.8
+++ b/usr.sbin/pcvt/ispcvt/ispcvt.8
@@ -73,7 +73,7 @@ with the
.Fl c
option gives a verbose listing of the compile-time options.
.El
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm
utility exits with one of the following values:
diff --git a/usr.sbin/periodic/periodic.8 b/usr.sbin/periodic/periodic.8
index 2753bee..75bd914 100644
--- a/usr.sbin/periodic/periodic.8
+++ b/usr.sbin/periodic/periodic.8
@@ -222,9 +222,10 @@ daily_show_badconfig=NO
.Xr periodic.conf 5 ,
.Xr cron 8 ,
.Xr newsyslog 8
+.Sh EXIT STATUS
+Exit status is 0 on success and 1 if the command fails.
.Sh DIAGNOSTICS
-Exit status is 0 on success and 1 if the command
-fails for one of the following reasons:
+The command may fail for one of the following reasons:
.Bl -diag
.It usage: periodic <directory of files to execute>
No directory path argument was passed to
diff --git a/usr.sbin/pkg_install/sign/pkg_sign.1 b/usr.sbin/pkg_install/sign/pkg_sign.1
index 118d380..6831294 100644
--- a/usr.sbin/pkg_install/sign/pkg_sign.1
+++ b/usr.sbin/pkg_install/sign/pkg_sign.1
@@ -128,7 +128,7 @@ signing scheme uses eight bytes markers such
.Sq CKSHA1
+ length for its signatures (those markers are conveniently
eight bytes long).
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm
and
@@ -139,6 +139,7 @@ For
.Nm pkg_check ,
this usually indicates that the package is not signed, or that the
signature is forged.
+.Sh DIAGNOSTICS
.Bl -diag
.It "File %s is already signed"
There is a signature embedded within the gzip file already.
diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8
index 2279501..fb25c46 100644
--- a/usr.sbin/pw/pw.8
+++ b/usr.sbin/pw/pw.8
@@ -821,7 +821,7 @@ The
and
.Fl q
options as described above are accepted by these commands.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
The
.Nm
utility returns EXIT_SUCCESS on successful operation, otherwise
diff --git a/usr.sbin/rtprio/rtprio.1 b/usr.sbin/rtprio/rtprio.1
index a694935..732fb12 100644
--- a/usr.sbin/rtprio/rtprio.1
+++ b/usr.sbin/rtprio/rtprio.1
@@ -113,7 +113,7 @@ highest priority
of 0 means "the current process".
.Pp
Only root is allowed to set realtime or idle priority for a process.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
If
.Nm
execute a command, the exit value is that of the command executed.
diff --git a/usr.sbin/sa/sa.8 b/usr.sbin/sa/sa.8
index ac78d24..68836ab 100644
--- a/usr.sbin/sa/sa.8
+++ b/usr.sbin/sa/sa.8
@@ -204,7 +204,7 @@ flag is specified, only the
and
.Fl s
flags are honored.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.Sh FILES
.Bl -tag -width /var/account/usracct -compact
diff --git a/usr.sbin/setkey/setkey.8 b/usr.sbin/setkey/setkey.8
index 380aaa5..427833f 100644
--- a/usr.sbin/setkey/setkey.8
+++ b/usr.sbin/setkey/setkey.8
@@ -633,7 +633,7 @@ algorithm comment
deflate rfc2394
.Ed
.\"
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
.Ex -std
.\"
.Sh EXAMPLES
diff --git a/usr.sbin/smbmsg/smbmsg.8 b/usr.sbin/smbmsg/smbmsg.8
index 7bcbf02..b221ced 100644
--- a/usr.sbin/smbmsg/smbmsg.8
+++ b/usr.sbin/smbmsg/smbmsg.8
@@ -259,10 +259,11 @@ Send a
command to device at address 0xa0.
For the PCF8583 RTC, this would set the clock to Sunday (2004%4)-05-16
22:07:00.
-.Sh DIAGNOSTICS
+.Sh EXIT STATUS
Exit status is 0 on success, or according to
.Xr sysexits 3
in case of failure.
+.Sh DIAGNOSTICS
Diagnostic messages issued are supposed to be self-explanatory.
.Sh SEE ALSO
.Xr printf 3 ,
OpenPOWER on IntegriCloud