From 6cdfbd838094749557ee752fee23579ce71a0d53 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 May 2008 20:16:00 +1000 Subject: fixed uninitialised variable (This used to be commit 8d2e20fcb984c122fbf98cfe712b3145941d881d) --- source4/torture/smb2/create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/smb2/create.c') diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c index 87a53ed7cf..9c9e7e2997 100644 --- a/source4/torture/smb2/create.c +++ b/source4/torture/smb2/create.c @@ -129,7 +129,7 @@ bool torture_smb2_create_gentest(struct torture_context *torture, struct smb2_tr io.in.create_disposition = NTCREATEX_DISP_OPEN_IF; io.in.desired_access = SEC_FLAG_MAXIMUM_ALLOWED; io.in.file_attributes = 0; - access_mask = 0; + file_attributes = 0; denied_mask = 0; { int i; @@ -149,7 +149,7 @@ bool torture_smb2_create_gentest(struct torture_context *torture, struct smb2_tr } } - CHECK_EQUAL(file_attributes, 0xffffbd48); + CHECK_EQUAL(file_attributes, 0xffff8048); CHECK_EQUAL(denied_mask, 0x4000); smb2_deltree(tree, FNAME); -- cgit