mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Display debug error message only when action fails
svn path=/trunk/; revision=17794
This commit is contained in:
parent
24a13ab689
commit
975f584df9
1 changed files with 2 additions and 2 deletions
|
@ -1329,9 +1329,9 @@ IopActionInterrogateDeviceStack(
|
|||
}
|
||||
|
||||
Status = IopQueryDeviceCapabilities(DeviceNode, &DeviceCapabilities);
|
||||
if (NT_SUCCESS(Status))
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT("IopInitiatePnpIrp() failed (Status %x)\n", Status);
|
||||
DPRINT("IopInitiatePnpIrp() failed (Status 0x%08lx)\n", Status);
|
||||
}
|
||||
|
||||
DeviceNode->CapabilityFlags = *(PULONG)((ULONG_PTR)&DeviceCapabilities + 4);
|
||||
|
|
Loading…
Reference in a new issue