From 474348fcb4d942c5655d09b21ed9fb352f168fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 27 Dec 2024 17:45:51 +0100 Subject: [PATCH] [NTOS:IO] IopCheckDeviceAndDriver(): Improve DPRINT trace --- ntoskrnl/io/iomgr/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ntoskrnl/io/iomgr/file.c b/ntoskrnl/io/iomgr/file.c index 1c3e55540b8..c8652b652d6 100644 --- a/ntoskrnl/io/iomgr/file.c +++ b/ntoskrnl/io/iomgr/file.c @@ -142,8 +142,8 @@ IopCheckDeviceAndDriver(IN POPEN_PACKET OpenPacket, DOE_REMOVE_PENDING | DOE_REMOVE_PROCESSED))) { /* It's initializing or unloading, so fail */ - DPRINT1("You are seeing this because the following ROS driver: %wZ\n" - " sucks. Please fix it's AddDevice Routine\n", + DPRINT1("\nYou are seeing this because the following ROS driver: %wZ\n" + "sucks. Please fix its AddDevice routine.\n", &DeviceObject->DriverObject->DriverName); return STATUS_NO_SUCH_DEVICE; }