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 | |
parent | d54708399dbab43b2867dad1a41eb199eb0813d8 (diff) | |
download | busybox-c9d34da375d6a3934eefdf7247d29546360eaccc.tar.gz |
find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)
-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) for (i = 1; i < firstopt; i++) { /* not xstat(): shouldn't bomb out on * "find not_exist exist -xdev" */ - if (stat(argv[i], &stbuf)) stbuf.st_dev = -1L; + if (stat(argv[i], &stbuf)) + stbuf.st_dev = -1L; xdev_dev[i-1] = stbuf.st_dev; } } argp[0] = "-a"; } - argp++; #endif + argp++; } actions = parse_params(&argv[firstopt]); |