diff --git a/source/torture/raw/openbench.c b/source/torture/raw/openbench.c index ce00ca6c5fd..e5b47cebe1a 100644 --- a/source/torture/raw/openbench.c +++ b/source/torture/raw/openbench.c @@ -285,7 +285,7 @@ static void close_completed(struct smbcli_request *req) static void echo_completion(struct smbcli_request *req) { - struct benchlock_state *state = (struct benchlock_state *)req->async.private; + struct benchopen_state *state = (struct benchopen_state *)req->async.private; NTSTATUS status = smbcli_request_simple_recv(req); if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) || NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT)) {