[NTOSKRNL]

- Fix a typo that broke handling of DevicePropertyEnumeratorName inside IoGetDeviceProperty

svn path=/trunk/; revision=48583
This commit is contained in:
Cameron Gutman 2010-08-21 22:08:00 +00:00
parent 9280f1e1c3
commit 7f865763fa

View file

@ -3327,8 +3327,8 @@ IoGetDeviceProperty(IN PDEVICE_OBJECT DeviceObject,
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: