From 3364d78b18386623e7af5da18ba1bb0cc6286279 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Tue, 28 Mar 2000 00:58:14 +0000 Subject: Yet another installment in the ongoing tar saga -Erik --- find.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'find.c') diff --git a/find.c b/find.c index 2c1039b53..c23ac5f46 100644 --- a/find.c +++ b/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); } -- cgit v1.2.3