mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
[NTOSKRNL] Set flags the standard way.
This commit is contained in:
parent
ea0cc1c783
commit
635775d249
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ IopInitializeDevice(PDEVICE_NODE DeviceNode,
|
|||
|
||||
if (DeviceNode->Flags & DNF_LEGACY_DRIVER)
|
||||
{
|
||||
DeviceNode->Flags |= DNF_ADDED + DNF_STARTED;
|
||||
DeviceNode->Flags |= (DNF_ADDED | DNF_STARTED);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue