summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/dir.c b/source4/torture/smb2/dir.c
index 4b44a50bbd..354085de2d 100644
--- a/source4/torture/smb2/dir.c
+++ b/source4/torture/smb2/dir.c
@@ -387,7 +387,7 @@ NTSTATUS torture_single_file_search(struct smb2_tree *tree,
const char *pattern,
uint8_t level,
enum smb_search_data_level data_level,
- int index,
+ int idx,
union smb_search_data *d,
uint_t *count,
struct smb2_handle *h)
@@ -404,7 +404,7 @@ NTSTATUS torture_single_file_search(struct smb2_tree *tree,
status = smb2_find_level(tree, tree, &f, count, &d);
if (NT_STATUS_IS_OK(status))
- fill_level_data(mem_ctx, &levels[index].data, d, *count, level,
+ fill_level_data(mem_ctx, &levels[idx].data, d, *count, level,
data_level);
return status;
}