[NPFS] Magic--;
authorPierre Schweitzer <pierre@reactos.org>
Sun, 30 Sep 2018 08:55:07 +0000 (10:55 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 30 Sep 2018 08:55:44 +0000 (10:55 +0200)
drivers/filesystems/npfs/create.c

index da2f967..8efcd77 100644 (file)
@@ -562,7 +562,7 @@ NpCreateExistingNamedPipe(IN PNP_FCB Fcb,
     if (AccessGranted)
     {
         AccessState->PreviouslyGrantedAccess |= GrantedAccess;
-        AccessState->RemainingDesiredAccess &= ~(GrantedAccess | 0x2000000);
+        AccessState->RemainingDesiredAccess &= ~(GrantedAccess | MAXIMUM_ALLOWED);
     }
 
     ObjectTypeName.Buffer = L"NamedPipe";