aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-05 00:35:43 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-05 00:35:43 +0000
commite46352cebe5849bea1e2e837ee1572b01422e972 (patch)
treeaa8c6aeaeadeddc7810e43bfc29f6097c16d2431
parent0125edaeb1e35e675e0d06771ceb576b4c760f5c (diff)
downloadbusybox-w32-e46352cebe5849bea1e2e837ee1572b01422e972.tar.gz
busybox-w32-e46352cebe5849bea1e2e837ee1572b01422e972.tar.bz2
busybox-w32-e46352cebe5849bea1e2e837ee1572b01422e972.zip
find: missed 'ststic' on const data
git-svn-id: svn://busybox.net/trunk/busybox@18329 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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;