fixed an error check

svn path=/trunk/; revision=19558
This commit is contained in:
Thomas Bluemel 2005-11-25 16:03:14 +00:00
parent e8fe230b7f
commit fc31f8d474

View file

@ -367,7 +367,7 @@ RtlpSysVolCheckOwnerAndSecurity(IN HANDLE DirectoryHandle,
Status = RtlAbsoluteToSelfRelativeSD(AbsSD, Status = RtlAbsoluteToSelfRelativeSD(AbsSD,
NewRelSD, NewRelSD,
&RelSDSize); &RelSDSize);
if (Status != STATUS_BUFFER_TOO_SMALL) if (Status == STATUS_BUFFER_TOO_SMALL)
{ {
goto Cleanup; goto Cleanup;
} }