https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f88fe43abd6a039f25cc08a8dfd65f9a56ef9da7
commit f88fe43abd6a039f25cc08a8dfd65f9a56ef9da7 Author: Pierre Schweitzer <pie...@reactos.org> AuthorDate: Sun Nov 12 18:51:07 2017 +0100 [NTOSKRNL] It is forbidden to call DbgPrint at DISPATCH_LEVEL with %wZ --- ntoskrnl/io/iomgr/device.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ntoskrnl/io/iomgr/device.c b/ntoskrnl/io/iomgr/device.c index 5d7f31e147..9342d5a22d 100644 --- a/ntoskrnl/io/iomgr/device.c +++ b/ntoskrnl/io/iomgr/device.c @@ -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);