summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/ld.so/ldd/ldd.122
-rw-r--r--libexec/ld.so/ldd/ldd.c4
2 files changed, 13 insertions, 13 deletions
diff --git a/libexec/ld.so/ldd/ldd.1 b/libexec/ld.so/ldd/ldd.1
index de3cd1f6316..5434fbc5b67 100644
--- a/libexec/ld.so/ldd/ldd.1
+++ b/libexec/ld.so/ldd/ldd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldd.1,v 1.8 2009/03/02 09:27:34 sobrado Exp $
+.\" $OpenBSD: ldd.1,v 1.9 2011/04/29 07:19:19 jmc Exp $
.\"
.\" Copyright (c) 1996 Per Fogelstrom
.\"
@@ -24,7 +24,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: March 2 2009 $
+.Dd $Mdocdate: April 29 2011 $
.Dt LDD 1
.Os
.Sh NAME
@@ -32,7 +32,7 @@
.Nd list dynamic object dependencies
.Sh SYNOPSIS
.Nm ldd
-.Op Fl x
+.\".Op Fl x
.Ar program ...
.Sh DESCRIPTION
.Nm
@@ -48,14 +48,14 @@ sets the environment variable
.Ev LD_TRACE_LOADED_OBJECTS
and then execs
.Ar program .
-.Pp
-If
-.Nm
-is invoked with the
-.Fl x
-flag, the tags from
-.Ar program
-are listed without using current ldconfig configuration.
+.\".Pp
+.\"If
+.\".Nm
+.\"is invoked with the
+.\".Fl x
+.\"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.
diff --git a/libexec/ld.so/ldd/ldd.c b/libexec/ld.so/ldd/ldd.c
index 2e36089f3fd..7d96eccca20 100644
--- a/libexec/ld.so/ldd/ldd.c
+++ b/libexec/ld.so/ldd/ldd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldd.c,v 1.14 2009/03/02 09:27:34 sobrado Exp $ */
+/* $OpenBSD: ldd.c,v 1.15 2011/04/29 07:19:19 jmc Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -84,7 +84,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-x] program ...\n", __progname);
+ fprintf(stderr, "usage: %s program ...\n", __progname);
exit(1);
}