summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/main.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2009-06-10 19:02:54 +0000
committeravg <avg@FreeBSD.org>2009-06-10 19:02:54 +0000
commit20201c3a83c2f5f4bb3aa40ed833dcf29b9f6fe5 (patch)
treec1810ed64a0c754c7f286ada646fbccbf242375a /sbin/fsck_msdosfs/main.c
parent6e30b78167fc4eae3fac9e9348416692c401f276 (diff)
downloadFreeBSD-src-20201c3a83c2f5f4bb3aa40ed833dcf29b9f6fe5.zip
FreeBSD-src-20201c3a83c2f5f4bb3aa40ed833dcf29b9f6fe5.tar.gz
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
Diffstat (limited to 'sbin/fsck_msdosfs/main.c')
-rw-r--r--sbin/fsck_msdosfs/main.c4
1 files changed, 3 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud