summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-09-17 21:13:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-09-17 21:13:51 +0000
commitb9a2520e126ea70da2a1ce9a312699dbdbe37362 (patch)
tree6a8badd43c136f76b594e68b8c2f232fe51bd867 /libexec
parent6f780ecf54ca0bc60b822b7220f7319bd582915a (diff)
replace the erroneous DIAGNOSTICS section with a (hopefully) accurate
EXIT STATUS one; ok guenther
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/ldd/ldd.115
1 files changed, 4 insertions, 11 deletions
diff --git a/libexec/ld.so/ldd/ldd.1 b/libexec/ld.so/ldd/ldd.1
index 5434fbc5b67..bc84e57345a 100644
--- a/libexec/ld.so/ldd/ldd.1
+++ b/libexec/ld.so/ldd/ldd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldd.1,v 1.9 2011/04/29 07:19:19 jmc Exp $
+.\" $OpenBSD: ldd.1,v 1.10 2012/09/17 21:13:50 jmc Exp $
.\"
.\" Copyright (c) 1996 Per Fogelstrom
.\"
@@ -24,7 +24,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: April 29 2011 $
+.Dd $Mdocdate: September 17 2012 $
.Dt LDD 1
.Os
.Sh NAME
@@ -56,15 +56,8 @@ and then execs
.\"flag, the tags from
.\".Ar program
.\"are listed without using current ldconfig configuration.
-.Sh DIAGNOSTICS
-Exit status 0 if no error.
-Exit status 1 if arg error.
-Exit status 2 if
-.Ar program
-can't be read.
-If
-.Nm
-fails to open the program file a message is printed.
+.Sh EXIT STATUS
+.Ex -std ldd
.Sh SEE ALSO
.Xr ld.so 1 ,
.Xr ldconfig 8