https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5570cde2717a9a21f004f…
commit 5570cde2717a9a21f004fc647172e18ac55744cc
Author: Maxim Smirnov <33279413+Simi4(a)users.noreply.github.com>
AuthorDate: Wed Mar 27 04:23:21 2019 +0300
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Thu Mar 28 22:46:04 2019 +0100
[NULL] Use correct device characteristics value for the null device
---
drivers/base/null/null.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/null/null.c b/drivers/base/null/null.c
index 0d4ed541de2..54cb9bea114 100644
--- a/drivers/base/null/null.c
+++ b/drivers/base/null/null.c
@@ -186,7 +186,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
0,
&DeviceName,
FILE_DEVICE_NULL,
- 0,
+ FILE_DEVICE_SECURE_OPEN,
FALSE,
&DeviceObject);
if (!NT_SUCCESS(Status))