diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-03 03:15:58 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-03 03:15:58 +0000 |
commit | c9d34da375d6a3934eefdf7247d29546360eaccc (patch) | |
tree | 536eb2bb72242a4026d2671cb15515398d527a31 /findutils/find.c | |
parent | d54708399dbab43b2867dad1a41eb199eb0813d8 (diff) | |
download | busybox-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.c | 5 |
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]); |