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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index deeb304804..1a9e757977 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -930,7 +930,7 @@ static void run_locktest4(int dummy)
fail:
cli_close(&cli1, fnum1);
- cli_close(&cli1, fnum2);
+ cli_close(&cli2, fnum2);
cli_unlink(&cli1, fname);
close_connection(&cli1);
close_connection(&cli2);