summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 00:35:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 00:35:43 +0000
commit7d6c9296e7154ef131c318588e66044f71081a05 (patch)
treeaa8c6aeaeadeddc7810e43bfc29f6097c16d2431
parent56fce00fc7c11c2b8dabac5ba0ef6a0a8a19dee5 (diff)
downloadbusybox-w32-7d6c9296e7154ef131c318588e66044f71081a05.tar.gz
busybox-w32-7d6c9296e7154ef131c318588e66044f71081a05.tar.bz2
busybox-w32-7d6c9296e7154ef131c318588e66044f71081a05.zip
find: missed 'ststic' on const data
-rw-r--r--findutils/find.c11
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)
646int find_main(int argc, char **argv); 646int find_main(int argc, char **argv);
647int find_main(int argc, char **argv) 647int find_main(int argc, char **argv)
648{ 648{
649 bool dereference = FALSE; 649 static const char * const options[] = {
650 char *arg;
651 char **argp;
652 int i, firstopt, status = EXIT_SUCCESS;
653 const char * const options[] = {
654 "-follow", 650 "-follow",
655USE_FEATURE_FIND_XDEV( "-xdev", ) 651USE_FEATURE_FIND_XDEV( "-xdev", )
656 NULL 652 NULL
657 }; 653 };
658 654
655 bool dereference = FALSE;
656 char *arg;
657 char **argp;
658 int i, firstopt, status = EXIT_SUCCESS;
659
659 for (firstopt = 1; firstopt < argc; firstopt++) { 660 for (firstopt = 1; firstopt < argc; firstopt++) {
660 if (argv[firstopt][0] == '-') 661 if (argv[firstopt][0] == '-')
661 break; 662 break;