Author: cgutman
Date: Sat Aug 21 22:08:00 2010
New Revision: 48583
URL:
http://svn.reactos.org/svn/reactos?rev=48583&view=rev
Log:
[NTOSKRNL]
- Fix a typo that broke handling of DevicePropertyEnumeratorName inside
IoGetDeviceProperty
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Sat Aug 21 22:08:00 2010
@@ -3327,8 +3327,8 @@
ASSERT(EnumeratorNameEnd);
/* This is the format of the returned data */
- PIP_RETURN_DATA((EnumeratorNameEnd - DeviceInstanceName) * 2,
- &DeviceNode->ChildBusNumber);
+ PIP_RETURN_DATA((EnumeratorNameEnd - DeviceInstanceName) * sizeof(WCHAR),
+ DeviceInstanceName);
case DevicePropertyAddress: