[NULL] Use correct device characteristics value for the null device

This commit is contained in:
Maxim Smirnov 2019-03-27 04:23:21 +03:00 committed by Pierre Schweitzer
parent d75ccd01f7
commit 5570cde271
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -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))