fixed an error check
authorThomas Bluemel <thomas@reactsoft.com>
Fri, 25 Nov 2005 16:03:14 +0000 (16:03 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Fri, 25 Nov 2005 16:03:14 +0000 (16:03 +0000)
svn path=/trunk/; revision=19558

reactos/lib/rtl/bootdata.c

index 2093f6d..de64dea 100644 (file)
@@ -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;
     }