summaryrefslogtreecommitdiff
path: root/source3/utils/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/torture.c')
-rw-r--r--source3/utils/torture.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index fc917702d3..40b4b123e9 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -2112,7 +2112,7 @@ static void run_opentest(int dummy)
printf("finished open test 1\n");
}
-static void list_fn(file_info *finfo, const char *name)
+static void list_fn(file_info *finfo, const char *name, void *state)
{
}
@@ -2149,9 +2149,9 @@ static void run_dirtest(int dummy)
t1 = end_timer();
- printf("Matched %d\n", cli_list(&cli, "a*.*", 0, list_fn));
- printf("Matched %d\n", cli_list(&cli, "b*.*", 0, list_fn));
- printf("Matched %d\n", cli_list(&cli, "xyzabc", 0, list_fn));
+ printf("Matched %d\n", cli_list(&cli, "a*.*", 0, list_fn, NULL));
+ printf("Matched %d\n", cli_list(&cli, "b*.*", 0, list_fn, NULL));
+ printf("Matched %d\n", cli_list(&cli, "xyzabc", 0, list_fn, NULL));
printf("dirtest core %g seconds\n", end_timer() - t1);