diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-05 04:35:43 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-05 04:35:43 +0400 |
commit | 7d6c9296e7154ef131c318588e66044f71081a05 (patch) | |
tree | aa8c6aeaeadeddc7810e43bfc29f6097c16d2431 | |
parent | 56fce00fc7c11c2b8dabac5ba0ef6a0a8a19dee5 (diff) |
find: missed 'ststic' on const data
-rw-r--r-- | findutils/find.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/findutils/find.c b/findutils/find.c index 9ca38c21a..ff201e520 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -646,16 +646,17 @@ static action*** parse_params(char **argv) int find_main(int argc, char **argv); int find_main(int argc, char **argv) { - bool dereference = FALSE; - char *arg; - char **argp; - int i, firstopt, status = EXIT_SUCCESS; - const char * const options[] = { + static const char * const options[] = { "-follow", USE_FEATURE_FIND_XDEV( "-xdev", ) NULL }; + bool dereference = FALSE; + char *arg; + char **argp; + int i, firstopt, status = EXIT_SUCCESS; + for (firstopt = 1; firstopt < argc; firstopt++) { if (argv[firstopt][0] == '-') break; |