summaryrefslogtreecommitdiff
path: root/sbin/fsck/fsck.c
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-02-03 05:03:51 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-02-03 05:03:51 +0000
commitaee13c7c6a20080687f8e2d708c2ad662631fc91 (patch)
treec7f37890b3eaa577ac33c564b17cbbf12b8012d8 /sbin/fsck/fsck.c
parentc7592640768de53647731f293cae0e5cf00b9916 (diff)
sync usage output
Diffstat (limited to 'sbin/fsck/fsck.c')
-rw-r--r--sbin/fsck/fsck.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c
index a226a5643eb..8171f642565 100644
--- a/sbin/fsck/fsck.c
+++ b/sbin/fsck/fsck.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsck.c,v 1.18 2004/07/28 21:17:22 jmc Exp $ */
+/* $OpenBSD: fsck.c,v 1.19 2005/02/03 05:03:50 jaredy Exp $ */
/* $NetBSD: fsck.c,v 1.7 1996/10/03 20:06:30 christos Exp $ */
/*
@@ -35,7 +35,7 @@
*
*/
-static const char rcsid[] = "$OpenBSD: fsck.c,v 1.18 2004/07/28 21:17:22 jmc Exp $";
+static const char rcsid[] = "$OpenBSD: fsck.c,v 1.19 2005/02/03 05:03:50 jaredy Exp $";
#include <sys/param.h>
#include <sys/mount.h>
@@ -464,10 +464,9 @@ static void
usage(void)
{
extern char *__progname;
- static const char common[] =
- "[-dfnpvy] [-l maxparallel] [-T fstype:fsoptions] [-t fstype]";
- (void)fprintf(stderr, "Usage: %s %s special | node ...\n",
- __progname, common);
+ fprintf(stderr, "usage: %s [-dfnpvy] [-l maxparallel] "
+ "[-T fstype:fsoptions] [-t fstype] [special | node ...]\n",
+ __progname);
exit(1);
}