aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-03 03:15:58 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-03 03:15:58 +0000
commitc9d34da375d6a3934eefdf7247d29546360eaccc (patch)
tree536eb2bb72242a4026d2671cb15515398d527a31 /findutils/find.c
parentd54708399dbab43b2867dad1a41eb199eb0813d8 (diff)
downloadbusybox-w32-c9d34da375d6a3934eefdf7247d29546360eaccc.tar.gz
busybox-w32-c9d34da375d6a3934eefdf7247d29546360eaccc.tar.bz2
busybox-w32-c9d34da375d6a3934eefdf7247d29546360eaccc.zip
find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 2f94d13e7..bbc97ecd4 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -551,14 +551,15 @@ int find_main(int argc, char **argv)
551 for (i = 1; i < firstopt; i++) { 551 for (i = 1; i < firstopt; i++) {
552 /* not xstat(): shouldn't bomb out on 552 /* not xstat(): shouldn't bomb out on
553 * "find not_exist exist -xdev" */ 553 * "find not_exist exist -xdev" */
554 if (stat(argv[i], &stbuf)) stbuf.st_dev = -1L; 554 if (stat(argv[i], &stbuf))
555 stbuf.st_dev = -1L;
555 xdev_dev[i-1] = stbuf.st_dev; 556 xdev_dev[i-1] = stbuf.st_dev;
556 } 557 }
557 } 558 }
558 argp[0] = "-a"; 559 argp[0] = "-a";
559 } 560 }
560 argp++;
561#endif 561#endif
562 argp++;
562 } 563 }
563 564
564 actions = parse_params(&argv[firstopt]); 565 actions = parse_params(&argv[firstopt]);