Oops. Forgot the usleep.c file.
[oweals/busybox.git] / find.c
diff --git a/find.c b/find.c
index 6346d454f4a08fcdad7c1a6d45eb908016ebe2f2..c23ac5f46b3b21d7e4dc6a45a1a10dd6cc6fd572 100644 (file)
--- a/find.c
+++ b/find.c
@@ -39,16 +39,10 @@ static const char find_usage[] = "find [PATH...] [EXPRESSION]\n\n"
        "\nEXPRESSION may consist of:\n"
        "\t-follow\n\t\tDereference symbolic links.\n"
        "\t-name PATTERN\n\t\tFile name (with leading directories removed) matches PATTERN.\n"
-       "\t-print\n\t\tprint the full file name followed by a newline to stdout.\n\n"
-#if defined BB_REGEXP
-       "This version of find matches full regular expresions.\n";
-#else
-       "This version of find matches strings (not regular expresions).\n";
-#endif
+       "\t-print\n\t\tprint the full file name followed by a newline to stdout.\n";
 
 
-
-static int fileAction(const char *fileName, struct stat *statbuf)
+static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
 {
        if (pattern == NULL)
                fprintf(stdout, "%s\n", fileName);
@@ -115,7 +109,7 @@ int find_main(int argc, char **argv)
        }
 
        if (recursiveAction(directory, TRUE, FALSE, FALSE,
-                                               fileAction, fileAction) == FALSE) {
+                                               fileAction, fileAction, NULL) == FALSE) {
                exit(FALSE);
        }