mirror of
https://github.com/reactos/reactos.git
synced 2024-08-24 04:08:38 +00:00
fixed an error check
svn path=/trunk/; revision=19558
This commit is contained in:
parent
e8fe230b7f
commit
fc31f8d474
|
@ -367,7 +367,7 @@ RtlpSysVolCheckOwnerAndSecurity(IN HANDLE DirectoryHandle,
|
|||
Status = RtlAbsoluteToSelfRelativeSD(AbsSD,
|
||||
NewRelSD,
|
||||
&RelSDSize);
|
||||
if (Status != STATUS_BUFFER_TOO_SMALL)
|
||||
if (Status == STATUS_BUFFER_TOO_SMALL)
|
||||
{
|
||||
goto Cleanup;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue