[NTOSKRNL] It is forbidden to call DbgPrint at DISPATCH_LEVEL with %wZ
authorPierre Schweitzer <pierre@reactos.org>
Sun, 12 Nov 2017 17:51:07 +0000 (18:51 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 12 Nov 2017 17:51:07 +0000 (18:51 +0100)
ntoskrnl/io/iomgr/device.c

index 5d7f31e..9342d5a 100644 (file)
@@ -357,9 +357,8 @@ IopEditDeviceList(IN PDRIVER_OBJECT DriverObject,
                 /* Not this one, keep moving */
                 if (!Previous->NextDevice)
                 {
-                    DPRINT1("Failed to remove PDO %p on driver %wZ (not found)\n",
-                            DeviceObject,
-                            &DeviceObject->DriverObject->DriverName);
+                    DPRINT1("Failed to remove PDO %p (not found)\n",
+                            DeviceObject);
 
                     ASSERT(FALSE);
                     KeReleaseQueuedSpinLock(LockQueueIoDatabaseLock, OldIrql);