[NTOSKRNL]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 27 Sep 2012 13:39:14 +0000 (13:39 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 27 Sep 2012 13:39:14 +0000 (13:39 +0000)
- Code formatting
- It's my first commit \o/
CORE-6687 #comment Committed. #resolve

svn path=/trunk/; revision=57399

reactos/ntoskrnl/io/pnpmgr/pnproot.c

index 357f468..cbe802a 100644 (file)
@@ -543,10 +543,8 @@ EnumerateDevices(
             /* Terminate the string */
             SubKeyInfo->Name[SubKeyInfo->NameLength / sizeof(WCHAR)] = 0;
 
             /* Terminate the string */
             SubKeyInfo->Name[SubKeyInfo->NameLength / sizeof(WCHAR)] = 0;
 
-            _snwprintf(
-                DevicePath,
-                sizeof(DevicePath) / sizeof(WCHAR),
-                L"%s\\%s", REGSTR_KEY_ROOTENUM, KeyInfo->Name);
+            _snwprintf(DevicePath, sizeof(DevicePath) / sizeof(WCHAR),
+                       L"%s\\%s", REGSTR_KEY_ROOTENUM, KeyInfo->Name);
             DPRINT("Found device %S\\%s!\n", DevicePath, SubKeyInfo->Name);
             if (LocateChildDevice(DeviceExtension, DevicePath, SubKeyInfo->Name, &Device) == STATUS_NO_SUCH_DEVICE)
             {
             DPRINT("Found device %S\\%s!\n", DevicePath, SubKeyInfo->Name);
             if (LocateChildDevice(DeviceExtension, DevicePath, SubKeyInfo->Name, &Device) == STATUS_NO_SUCH_DEVICE)
             {