mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:56:05 +00:00
[NTOSKRNL]
- Code formatting - It's my first commit \o/ CORE-6687 #comment Committed. #resolve svn path=/trunk/; revision=57399
This commit is contained in:
parent
ccdee96401
commit
31418a2eb5
1 changed files with 2 additions and 4 deletions
|
@ -543,10 +543,8 @@ EnumerateDevices(
|
||||||
/* Terminate the string */
|
/* Terminate the string */
|
||||||
SubKeyInfo->Name[SubKeyInfo->NameLength / sizeof(WCHAR)] = 0;
|
SubKeyInfo->Name[SubKeyInfo->NameLength / sizeof(WCHAR)] = 0;
|
||||||
|
|
||||||
_snwprintf(
|
_snwprintf(DevicePath, sizeof(DevicePath) / sizeof(WCHAR),
|
||||||
DevicePath,
|
L"%s\\%s", REGSTR_KEY_ROOTENUM, KeyInfo->Name);
|
||||||
sizeof(DevicePath) / sizeof(WCHAR),
|
|
||||||
L"%s\\%s", REGSTR_KEY_ROOTENUM, KeyInfo->Name);
|
|
||||||
DPRINT("Found device %S\\%s!\n", DevicePath, SubKeyInfo->Name);
|
DPRINT("Found device %S\\%s!\n", DevicePath, SubKeyInfo->Name);
|
||||||
if (LocateChildDevice(DeviceExtension, DevicePath, SubKeyInfo->Name, &Device) == STATUS_NO_SUCH_DEVICE)
|
if (LocateChildDevice(DeviceExtension, DevicePath, SubKeyInfo->Name, &Device) == STATUS_NO_SUCH_DEVICE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue