summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/masktest.c2
-rw-r--r--source3/torture/nbio.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 67515463d1..f3c87e0c72 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -255,7 +255,7 @@ struct cli_state *connect_one(char *share)
static char *resultp;
static file_info *f_info;
-static void listfn(file_info *f, const char *s, void *state)
+static void listfn(const char *mnt, file_info *f, const char *s, void *state)
{
if (strcmp(f->name,".") == 0) {
resultp[0] = '+';
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index 2e79584d23..e6a87e68ad 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -257,7 +257,7 @@ void nb_qfsinfo(int level)
cli_dskattr(c, &bsize, &total, &avail);
}
-static void find_fn(file_info *finfo, const char *name, void *state)
+static void find_fn(const char *mnt, file_info *finfo, const char *name, void *state)
{
/* noop */
}
@@ -276,7 +276,7 @@ void nb_flush(int fnum)
static int total_deleted;
-static void delete_fn(file_info *finfo, const char *name, void *state)
+static void delete_fn(const char *mnt, file_info *finfo, const char *name, void *state)
{
char *s, *n;
if (finfo->name[0] == '.') return;