summaryrefslogtreecommitdiff
path: root/usr.bin/find/main.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-06-15 14:19:46 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-06-15 14:19:46 +0000
commit064a144a7e5762cc735f4fa2925fd533b399fba0 (patch)
tree410d6dc6b73537b16d05328f78e3462cbc783324 /usr.bin/find/main.c
parent386f37025852600232fcfdd884cb362021f87cb1 (diff)
no more whiteouts
Diffstat (limited to 'usr.bin/find/main.c')
-rw-r--r--usr.bin/find/main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 3211ae9989a..21232d8c6f5 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.20 2005/02/07 20:46:52 jaredy Exp $ */
+/* $OpenBSD: main.c,v 1.21 2005/06/15 14:19:45 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -31,7 +31,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: main.c,v 1.20 2005/02/07 20:46:52 jaredy Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.21 2005/06/15 14:19:45 millert Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -76,7 +76,7 @@ main(int argc, char *argv[])
sigaction(SIGINFO, &sa, NULL);
ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;
- while ((ch = getopt(argc, argv, "Hdf:hLXxW")) != -1)
+ while ((ch = getopt(argc, argv, "Hdf:hLXx")) != -1)
switch(ch) {
case 'H':
ftsoptions |= FTS_COMFOLLOW;
@@ -99,9 +99,6 @@ main(int argc, char *argv[])
ftsoptions &= ~FTS_NOSTAT;
ftsoptions |= FTS_XDEV;
break;
- case 'W':
- ftsoptions |= FTS_WHITEOUT;
- break;
case '?':
default:
break;