summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorErik Andersen2000-03-28 00:58:14 +0000
committerErik Andersen2000-03-28 00:58:14 +0000
commit3364d78b18386623e7af5da18ba1bb0cc6286279 (patch)
tree36b57afb6f3eefcdc8fdaf40e51fa6956264db50 /findutils
parent6acaa40f27de0da935c3063b6be2ead9eeee5d0b (diff)
downloadbusybox-3364d78b18386623e7af5da18ba1bb0cc6286279.zip
busybox-3364d78b18386623e7af5da18ba1bb0cc6286279.tar.gz
Yet another installment in the ongoing tar saga
-Erik
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 2c1039b..c23ac5f 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -42,7 +42,7 @@ static const char find_usage[] = "find [PATH...] [EXPRESSION]\n\n"
"\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);
@@ -109,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);
}