Silently ignore -f so that "fsck -f" works if you have an msdos
authormillert <millert@openbsd.org>
Fri, 28 Feb 1997 07:47:52 +0000 (07:47 +0000)
committermillert <millert@openbsd.org>
Fri, 28 Feb 1997 07:47:52 +0000 (07:47 +0000)
partition listed in fstab.

sbin/fsck_msdos/main.c

index dd6c389..edfef19 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: main.c,v 1.4 1997/01/15 23:41:47 millert Exp $        */
+/*     $OpenBSD: main.c,v 1.5 1997/02/28 07:47:52 millert Exp $        */
 /*     $NetBSD: main.c,v 1.1.4.1 1996/05/31 18:41:54 jtc Exp $ */
 
 /*
@@ -35,7 +35,7 @@
 
 
 #ifndef lint
-static char rcsid[] = "$OpenBSD: main.c,v 1.4 1997/01/15 23:41:47 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.5 1997/02/28 07:47:52 millert Exp $";
 #endif /* not lint */
 
 #include <stdlib.h>
@@ -89,6 +89,9 @@ main(argc, argv)
                        preen = 1;
                        alwaysyes = alwaysno = 0;
                        break;
+
+               case 'f':
+                       break;
                        
                default:
                        usage();