https://git.reactos.org/?p=reactos.git;a=commitdiff;h=52d22630f535519b5f1aa0...
commit 52d22630f535519b5f1aa070a2aa2efbc03edc8f Author: Eric Kohl eric.kohl@reactos.org AuthorDate: Sat Mar 21 13:22:09 2020 +0100 Commit: Eric Kohl eric.kohl@reactos.org CommitDate: Sat Mar 21 13:23:23 2020 +0100
[NTOS:PNP] Fix indentation. No code changes! --- ntoskrnl/io/pnpmgr/pnpmgr.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/ntoskrnl/io/pnpmgr/pnpmgr.c b/ntoskrnl/io/pnpmgr/pnpmgr.c index 320d57d2798..48890364bf9 100644 --- a/ntoskrnl/io/pnpmgr/pnpmgr.c +++ b/ntoskrnl/io/pnpmgr/pnpmgr.c @@ -896,7 +896,7 @@ IopStartAndEnumerateDevice(IN PDEVICE_NODE DeviceNode)
NTSTATUS IopStopDevice( - PDEVICE_NODE DeviceNode) + PDEVICE_NODE DeviceNode) { NTSTATUS Status;
@@ -918,7 +918,7 @@ IopStopDevice(
NTSTATUS IopStartDevice( - PDEVICE_NODE DeviceNode) + PDEVICE_NODE DeviceNode) { NTSTATUS Status; HANDLE InstanceHandle = NULL, ControlHandle = NULL; @@ -958,12 +958,12 @@ IopStartDevice( if (!NT_SUCCESS(Status)) goto ByeBye;
- RtlInitUnicodeString(&KeyName, L"ActiveService"); - ValueString = DeviceNode->ServiceName; - if (!ValueString.Buffer) - RtlInitUnicodeString(&ValueString, L""); - Status = ZwSetValueKey(ControlHandle, &KeyName, 0, REG_SZ, ValueString.Buffer, ValueString.Length + sizeof(UNICODE_NULL)); - // } + RtlInitUnicodeString(&KeyName, L"ActiveService"); + ValueString = DeviceNode->ServiceName; + if (!ValueString.Buffer) + RtlInitUnicodeString(&ValueString, L""); + Status = ZwSetValueKey(ControlHandle, &KeyName, 0, REG_SZ, ValueString.Buffer, ValueString.Length + sizeof(UNICODE_NULL)); + // }
ByeBye: if (ControlHandle != NULL)