Skip to content

Commit 80bdaf1

Browse files
committed
[SMSS]
Fix broken if statement. It couldn't evaluate to true. svn path=/trunk/; revision=67077
1 parent a2a9df3 commit 80bdaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reactos/base/system/smss/sminit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ SmpProcessFileRenames(VOID)
20712071
InformationClass);
20722072

20732073
/* Check if we seem to have failed because the file was readonly */
2074-
if ((NT_SUCCESS(Status) &&
2074+
if ((!NT_SUCCESS(Status) &&
20752075
(InformationClass == FileRenameInformation) &&
20762076
(Status == STATUS_OBJECT_NAME_COLLISION) &&
20772077
(Buffer->ReplaceIfExists)))

0 commit comments

Comments
 (0)