[NTOSKRNL]

- Code formatting
- It's my first commit \o/
CORE-6687 #comment Committed. #resolve

svn path=/trunk/; revision=57399
This commit is contained in:
Hermès Bélusca-Maïto 2012-09-27 13:39:14 +00:00
parent ccdee96401
commit 31418a2eb5

View file

@ -543,10 +543,8 @@ EnumerateDevices(
/* 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)
{