summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-11 16:13:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:59 -0500
commitcf1ebf6b62700eee019e0aa3b698741012289599 (patch)
treef3e7889062f48bac90b78fd673d18da0bcc730f5 /source3/torture
parentf651bb0bea44316e01f77fff20f34ae30437d280 (diff)
downloadsamba-cf1ebf6b62700eee019e0aa3b698741012289599.tar.gz
samba-cf1ebf6b62700eee019e0aa3b698741012289599.tar.bz2
samba-cf1ebf6b62700eee019e0aa3b698741012289599.zip
r5749: fix some build issues
(This used to be commit 3f12dbb1cfd429e537415635aaa6e551e00c2a0e)
Diffstat (limited to 'source3/torture')
-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;