summaryrefslogtreecommitdiff
path: root/sbin/fsck_msdos
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-02-28 07:47:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-02-28 07:47:53 +0000
commit7e9bd6036ed9d0e4fe740e9b5da544a1135aa319 (patch)
tree88e54e34ff4a0f3c244e46fb357f21c1d07fba44 /sbin/fsck_msdos
parent99edaaeb3b0493ffd025ec560f3a11fae1712dfe (diff)
Silently ignore -f so that "fsck -f" works if you have an msdos
partition listed in fstab.
Diffstat (limited to 'sbin/fsck_msdos')
-rw-r--r--sbin/fsck_msdos/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/fsck_msdos/main.c b/sbin/fsck_msdos/main.c
index dd6c38901c0..edfef19f6d5 100644
--- a/sbin/fsck_msdos/main.c
+++ b/sbin/fsck_msdos/main.c
@@ -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();