summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-03-02 09:27:35 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-03-02 09:27:35 +0000
commit1a9f8ee3caf0d3def310753f77069e639cd5078c (patch)
treed5035a0b57bfc8f6003b0d26b0f4089fe90345b9 /libexec/ld.so
parent76ec0604edde0dcae43c51e98a11947b8fc34f56 (diff)
ldd(1) accepts more than one program as argument; while here,
synchronize synopsis and usage.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/ldd/ldd.16
-rw-r--r--libexec/ld.so/ldd/ldd.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/libexec/ld.so/ldd/ldd.1 b/libexec/ld.so/ldd/ldd.1
index ecafa66a8b9..de3cd1f6316 100644
--- a/libexec/ld.so/ldd/ldd.1
+++ b/libexec/ld.so/ldd/ldd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldd.1,v 1.7 2007/05/31 19:19:39 jmc Exp $
+.\" $OpenBSD: ldd.1,v 1.8 2009/03/02 09:27:34 sobrado Exp $
.\"
.\" Copyright (c) 1996 Per Fogelstrom
.\"
@@ -24,7 +24,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: March 2 2009 $
.Dt LDD 1
.Os
.Sh NAME
@@ -33,7 +33,7 @@
.Sh SYNOPSIS
.Nm ldd
.Op Fl x
-.Ar program
+.Ar program ...
.Sh DESCRIPTION
.Nm
displays the shared objects needed to run
diff --git a/libexec/ld.so/ldd/ldd.c b/libexec/ld.so/ldd/ldd.c
index bccc9b7a9e8..2e36089f3fd 100644
--- a/libexec/ld.so/ldd/ldd.c
+++ b/libexec/ld.so/ldd/ldd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldd.c,v 1.13 2008/06/25 02:51:08 kurt Exp $ */
+/* $OpenBSD: ldd.c,v 1.14 2009/03/02 09:27:34 sobrado 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] <filename> ...\n", __progname);
+ fprintf(stderr, "usage: %s [-x] program ...\n", __progname);
exit(1);
}