diff options
author | bde <bde@FreeBSD.org> | 1996-11-30 16:12:46 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-11-30 16:12:46 +0000 |
commit | 8c92e079074bfafcfc10b4ae371e22d73b46b10a (patch) | |
tree | 826100cb63fbe2747f5d8e0b904e0ea8d6e57602 /usr.bin/ldd/ldd.c | |
parent | 168274b4d604a25469e54137380c8b665179d6bd (diff) | |
download | FreeBSD-src-8c92e079074bfafcfc10b4ae371e22d73b46b10a.zip FreeBSD-src-8c92e079074bfafcfc10b4ae371e22d73b46b10a.tar.gz |
Made the synopsis in the man page conform to the style guide.
Made the usage message conform to the style guide.
Don't use the implementation variable `__progname'.
Diffstat (limited to 'usr.bin/ldd/ldd.c')
-rw-r--r-- | usr.bin/ldd/ldd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c index 94c8889..abd0106 100644 --- a/usr.bin/ldd/ldd.c +++ b/usr.bin/ldd/ldd.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ldd.c,v 1.8 1996/10/29 18:45:20 peter Exp $ + * $Id: ldd.c,v 1.9 1996/11/22 13:58:03 peter Exp $ */ #include <sys/types.h> @@ -50,11 +50,7 @@ extern int error_count; void usage() { - extern char *__progname; - - fprintf(stderr, "Usage: %s [-f format] [-v] <filename> ...\n", - __progname); - + fprintf(stderr, "usage: ldd [-v] [-f format] program ...\n"); exit(1); } |