mirror of
https://github.com/reactos/reactos.git
synced 2024-07-04 11:44:33 +00:00
DEVICE_RELATIONS->Count is ULONG
svn path=/trunk/; revision=35535
This commit is contained in:
parent
44fdf97ae2
commit
60ef511bb8
|
@ -1696,17 +1696,13 @@ IopEnumerateDevice(
|
|||
|
||||
DeviceRelations = (PDEVICE_RELATIONS)IoStatusBlock.Information;
|
||||
|
||||
if (!DeviceRelations || DeviceRelations->Count < 0)
|
||||
if (!DeviceRelations)
|
||||
{
|
||||
DPRINT("No PDOs\n");
|
||||
if (DeviceRelations)
|
||||
{
|
||||
ExFreePool(DeviceRelations);
|
||||
}
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
DPRINT("Got %d PDOs\n", DeviceRelations->Count);
|
||||
DPRINT("Got %u PDOs\n", DeviceRelations->Count);
|
||||
|
||||
/*
|
||||
* Create device nodes for all discovered devices
|
||||
|
|
Loading…
Reference in a new issue