https://git.reactos.org/?p=reactos.git;a=commitdiff;h=257923cad10b1afbb12ca…
commit 257923cad10b1afbb12cad1d9bec47daf3cefa3c
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun Sep 30 10:55:07 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun Sep 30 10:55:44 2018 +0200
[NPFS] Magic--;
---
drivers/filesystems/npfs/create.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/filesystems/npfs/create.c b/drivers/filesystems/npfs/create.c
index da2f967faf..8efcd77870 100644
--- a/drivers/filesystems/npfs/create.c
+++ b/drivers/filesystems/npfs/create.c
@@ -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";