From: Andreas Schneider Date: Fri, 14 Nov 2025 09:14:40 +0000 (+0100) Subject: s4:torture: Cleanup to to use the right name X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bda5bbfbb31aa23548e5d08425e0cddc83d4fc6;p=thirdparty%2Fsamba.git s4:torture: Cleanup to to use the right name Not a bug, but just use the right union. Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme --- diff --git a/source4/torture/smb2/streams.c b/source4/torture/smb2/streams.c index 5940907cf4c..fc7fba50a89 100644 --- a/source4/torture/smb2/streams.c +++ b/source4/torture/smb2/streams.c @@ -452,11 +452,11 @@ static bool test_stream_io(struct torture_context *tctx, io.smb2.in.fname = sname1; status = smb2_create(tree, mem_ctx, &(io.smb2)); CHECK_STATUS(status, NT_STATUS_OK); - smb2_util_close(tree, io.ntcreatex.out.file.handle); + smb2_util_close(tree, io.smb2.out.file.handle); io.smb2.in.fname = sname2; status = smb2_create(tree, mem_ctx, &(io.smb2)); CHECK_STATUS(status, NT_STATUS_OK); - smb2_util_close(tree, io.ntcreatex.out.file.handle); + smb2_util_close(tree, io.smb2.out.file.handle); torture_comment(tctx, "(%s) deleting file\n", __location__); status = smb2_util_unlink(tree, fname); CHECK_STATUS(status, NT_STATUS_OK);