aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-05-19 18:16:29 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-05-19 18:16:29 +0000
commit5cc6677fdc816f90a086873cbfc39897df409c07 (patch)
tree353512e13e2a035ad00b76b930a1204f54fe0a6e /usr.bin/find
parent3d9a9402b4354e5aa41e28e3fb0c88ef7d79e215 (diff)
Notes
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 84a4a098bef4..49ad226c57ed 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -75,27 +75,26 @@ main(argc, argv)
char *argv[];
{
register char **p, **start;
- int Hflag, Lflag, Pflag, ch;
+ int Hflag, Lflag, ch;
(void)setlocale(LC_ALL, "");
(void)time(&now); /* initialize the time-of-day */
p = start = argv;
- Hflag = Lflag = Pflag = 0;
+ Hflag = Lflag = 0;
ftsoptions = FTS_NOSTAT | FTS_PHYSICAL;
while ((ch = getopt(argc, argv, "HLPXdf:x")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
- Lflag = Pflag = 0;
+ Lflag = 0;
break;
case 'L':
Lflag = 1;
- Hflag = Pflag = 0;
+ Hflag = 0;
break;
case 'P':
- Pflag = 1;
Hflag = Lflag = 0;
break;
case 'X':