summaryrefslogtreecommitdiff
path: root/usr.bin/dirname/dirname.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-02 01:04:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-02 01:04:13 +0000
commitd543e8233fe6d59782db1420232a906fc75b8d56 (patch)
tree8da56a9068c55de365a07a5a8faa626e3deb6f92 /usr.bin/dirname/dirname.c
parent56ba05184793afd6bfbc2632ed83915cbe8e82b4 (diff)
Clarify man page and usage string to say 'pathname' and not 'string'
or 'dir'. Closes PR 2216; s AT msmith.net
Diffstat (limited to 'usr.bin/dirname/dirname.c')
-rw-r--r--usr.bin/dirname/dirname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/dirname/dirname.c b/usr.bin/dirname/dirname.c
index 25741892bc4..28a186b5464 100644
--- a/usr.bin/dirname/dirname.c
+++ b/usr.bin/dirname/dirname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dirname.c,v 1.5 2001/07/05 22:12:09 pjanzen Exp $ */
+/* $OpenBSD: dirname.c,v 1.6 2001/12/02 01:04:12 millert Exp $ */
/*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: dirname.c,v 1.5 2001/07/05 22:12:09 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: dirname.c,v 1.6 2001/12/02 01:04:12 millert Exp $";
#endif /* not lint */
#include <err.h>
@@ -47,7 +47,7 @@ main(argc, argv)
setlocale(LC_ALL, "");
if (argc != 2) {
- (void)fprintf(stderr, "Usage: %s dirname\n", __progname);
+ (void)fprintf(stderr, "Usage: %s pathname\n", __progname);
exit(1);
}