From 20201c3a83c2f5f4bb3aa40ed833dcf29b9f6fe5 Mon Sep 17 00:00:00 2001 From: avg Date: Wed, 10 Jun 2009 19:02:54 +0000 Subject: fsck_msdosfs: accept no-op -C option for compatibilty with fsck Submitted by: marck Reviewed by: current@ Approved by: jhb (mentor) MFC after: 1 week --- sbin/fsck_msdosfs/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sbin/fsck_msdosfs/main.c') diff --git a/sbin/fsck_msdosfs/main.c b/sbin/fsck_msdosfs/main.c index eacc792..c09abd5 100644 --- a/sbin/fsck_msdosfs/main.c +++ b/sbin/fsck_msdosfs/main.c @@ -74,8 +74,10 @@ main(int argc, char **argv) int ch; skipclean = 1; - while ((ch = getopt(argc, argv, "fFnpy")) != -1) { + while ((ch = getopt(argc, argv, "CfFnpy")) != -1) { switch (ch) { + case 'C': /* for fsck_ffs compatibility */ + break; case 'f': skipclean = 0; break; -- cgit v1.1