https://git.reactos.org/?p=reactos.git;a=commitdiff;h=198601a101ba97ea2700f60e4c76aa6409e2447f

commit 198601a101ba97ea2700f60e4c76aa6409e2447f
Author:     Andrew Boyarshin <andrew.boyars...@gmail.com>
AuthorDate: Sun Nov 25 17:31:12 2018 +0700
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Sun Nov 25 11:31:12 2018 +0100

    [NTOS:IO] Tiny improvement to debug message
    
    Add quotes around string, since it is often empty, thus confusing in log.
---
 ntoskrnl/io/iomgr/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/io/iomgr/error.c b/ntoskrnl/io/iomgr/error.c
index 67fc9e334f..171f02eac8 100644
--- a/ntoskrnl/io/iomgr/error.c
+++ b/ntoskrnl/io/iomgr/error.c
@@ -695,7 +695,7 @@ IoRaiseInformationalHardError(IN NTSTATUS ErrorStatus,
                               IN PUNICODE_STRING String,
                               IN PKTHREAD Thread)
 {
-    DPRINT1("IoRaiseInformationalHardError: %lx, %wZ\n", ErrorStatus, String);
+    DPRINT1("IoRaiseInformationalHardError: %lx, '%wZ'\n", ErrorStatus, 
String);
     return FALSE;
 }
 

Reply via email to