diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck_ffs/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index 6a72300475a..7360a814d8b 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.12 1997/10/06 20:22:33 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.13 1998/02/05 00:26:24 millert Exp $ */ /* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.12 1997/10/06 20:22:33 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.13 1998/02/05 00:26:24 millert Exp $"; #endif #endif /* not lint */ @@ -70,6 +70,8 @@ int checkfilesys __P((char *, char *, long, int)); int docheck __P((struct fstab *)); int main __P((int, char *[])); +extern char *__progname; + int main(argc, argv) int argc; @@ -127,7 +129,7 @@ main(argc, argv) break; default: - errexit("%c option?\n", ch); + errexit("usage: %s -p [-f] [-m mode]\n %s [-f] [-b block#] [-c level] [-y] [-n] [-m mode] [filesystem] ...", __progname, __progname); } } argc -= optind; |