diff --git a/ntoskrnl/io/iomgr/device.c b/ntoskrnl/io/iomgr/device.c index 5d7f31e1471..9342d5a22d4 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);