diff options
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 11d307d180..619f92dc6c 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -3802,7 +3802,7 @@ static bool run_oplock4(int dummy) open_req = cli_openx_send( talloc_tos(), ev, cli2, fname_ln, O_RDWR, DENY_NONE); - if (oplock_req == NULL) { + if (open_req == NULL) { printf("cli_openx_send failed\n"); return false; } |