find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)

This commit is contained in:
Denis Vlasenko 2007-01-03 03:15:58 +00:00
parent d54708399d
commit c9d34da375

View File

@ -551,14 +551,15 @@ int find_main(int argc, char **argv)
for (i = 1; i < firstopt; i++) { for (i = 1; i < firstopt; i++) {
/* not xstat(): shouldn't bomb out on /* not xstat(): shouldn't bomb out on
* "find not_exist exist -xdev" */ * "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; xdev_dev[i-1] = stbuf.st_dev;
} }
} }
argp[0] = "-a"; argp[0] = "-a";
} }
argp++;
#endif #endif
argp++;
} }
actions = parse_params(&argv[firstopt]); actions = parse_params(&argv[firstopt]);