summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r--source3/torture/nbio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index f69e4c3a2b..db24f10cc5 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -262,7 +262,8 @@ void nb_qfsinfo(int level)
cli_dskattr(c, &bsize, &total, &avail);
}
-static void find_fn(const char *mnt, file_info *finfo, const char *name, void *state)
+static void find_fn(const char *mnt, struct file_info *finfo, const char *name,
+ void *state)
{
/* noop */
}
@@ -281,7 +282,8 @@ void nb_flush(int fnum)
static int total_deleted;
-static void delete_fn(const char *mnt, file_info *finfo, const char *name, void *state)
+static void delete_fn(const char *mnt, struct file_info *finfo,
+ const char *name, void *state)
{
char *s, *n;
if (finfo->name[0] == '.') return;