[SMSS]
authorPierre Schweitzer <pierre@reactos.org>
Mon, 6 Apr 2015 19:19:35 +0000 (19:19 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 6 Apr 2015 19:19:35 +0000 (19:19 +0000)
Fix broken if statement. It couldn't evaluate to true.

svn path=/trunk/; revision=67077

reactos/base/system/smss/sminit.c

index 0949932..ddcd732 100644 (file)
@@ -2071,7 +2071,7 @@ SmpProcessFileRenames(VOID)
                                           InformationClass);
 
             /* Check if we seem to have failed because the file was readonly */
-            if ((NT_SUCCESS(Status) &&
+            if ((!NT_SUCCESS(Status) &&
                 (InformationClass == FileRenameInformation) &&
                 (Status == STATUS_OBJECT_NAME_COLLISION) &&
                 (Buffer->ReplaceIfExists)))