Subject: misc/25916: missing option in the usage of fsck_ffs(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/13/2004 18:48:26
>Number:         25916
>Category:       misc
>Synopsis:       missing option in the usage of fsck_ffs(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 13 09:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #23: Tue Jun 8 02:19:00 JST 2004 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	-a is missing in the usage of fsck_ffs(8).

# fsck_ffs
usage: fsck_ffs [-dFfnpqy] [-B be|le] [-b block] [-c level] [-m mode] filesystem ...

>How-To-Repeat:
	fsck_ffs

>Fix:
Index: main.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/fsck_ffs/main.c,v
retrieving revision 1.49
diff -u -r1.49 main.c
--- main.c	17 Jan 2004 22:17:07 -0000	1.49
+++ main.c	5 Jun 2004 20:01:05 -0000
@@ -407,7 +407,7 @@
 {
 
 	(void) fprintf(stderr,
-	    "usage: %s [-dFfnpqy] [-B be|le] [-b block] [-c level] [-m mode]"
+	    "usage: %s [-adFfnpqy] [-B be|le] [-b block] [-c level] [-m mode]"
 	    " filesystem ...\n",
 	    getprogname());
 	exit(1);

>Release-Note:
>Audit-Trail:
>Unformatted: