Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/ntdll/unix/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/sync.c b/dlls/ntdll/unix/sync.c index 03b511881b7..5e327d0a667 100644 --- a/dlls/ntdll/unix/sync.c +++ b/dlls/ntdll/unix/sync.c @@ -214,7 +214,7 @@ NTSTATUS alloc_object_attributes( const OBJECT_ATTRIBUTES *attr, struct object_a owner = sd->Owner; group = sd->Group; if (sd->Control & SE_SACL_PRESENT) sacl = sd->Sacl; - if (sd->Control & SE_SACL_PRESENT) dacl = sd->Dacl; + if (sd->Control & SE_DACL_PRESENT) dacl = sd->Dacl; }
if (owner) len += offsetof( SID, SubAuthority[owner->SubAuthorityCount] );