aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-03-28 00:58:14 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-03-28 00:58:14 +0000
commit040468363becb832f77036a5de1276d9fdd34e13 (patch)
tree36b57afb6f3eefcdc8fdaf40e51fa6956264db50 /findutils/find.c
parent943443ecbd7fb41f08fe551aa7695a3ae7a9eb3d (diff)
downloadbusybox-w32-040468363becb832f77036a5de1276d9fdd34e13.tar.gz
busybox-w32-040468363becb832f77036a5de1276d9fdd34e13.tar.bz2
busybox-w32-040468363becb832f77036a5de1276d9fdd34e13.zip
Yet another installment in the ongoing tar saga
-Erik git-svn-id: svn://busybox.net/trunk/busybox@424 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 2c1039b53..c23ac5f46 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -42,7 +42,7 @@ static const char find_usage[] = "find [PATH...] [EXPRESSION]\n\n"
42 "\t-print\n\t\tprint the full file name followed by a newline to stdout.\n"; 42 "\t-print\n\t\tprint the full file name followed by a newline to stdout.\n";
43 43
44 44
45static int fileAction(const char *fileName, struct stat *statbuf) 45static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
46{ 46{
47 if (pattern == NULL) 47 if (pattern == NULL)
48 fprintf(stdout, "%s\n", fileName); 48 fprintf(stdout, "%s\n", fileName);
@@ -109,7 +109,7 @@ int find_main(int argc, char **argv)
109 } 109 }
110 110
111 if (recursiveAction(directory, TRUE, FALSE, FALSE, 111 if (recursiveAction(directory, TRUE, FALSE, FALSE,
112 fileAction, fileAction) == FALSE) { 112 fileAction, fileAction, NULL) == FALSE) {
113 exit(FALSE); 113 exit(FALSE);
114 } 114 }
115 115