https://git.reactos.org/?p=reactos.git;a=commitdiff;h=473ca9116648a07decd6ce4625c7d3762f31d660

commit 473ca9116648a07decd6ce4625c7d3762f31d660
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Mon Oct 15 00:32:48 2018 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Oct 15 00:37:08 2018 +0200

    [MKHIVE] Fix compilation warnings.
---
 sdk/tools/mkhive/registry.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sdk/tools/mkhive/registry.c b/sdk/tools/mkhive/registry.c
index d6a2028990..c188d7a53b 100644
--- a/sdk/tools/mkhive/registry.c
+++ b/sdk/tools/mkhive/registry.c
@@ -488,7 +488,8 @@ RegpCreateOrOpenKey(
 
         if (!NT_SUCCESS(Status))
         {
-            DPRINT("RegpCreateOrOpenKey('%S'): Could not create or open subkey 
'%wZ', Status 0x%08x\n", KeyName, &KeyString, Status);
+            DPRINT("RegpCreateOrOpenKey('%S'): Could not create or open subkey 
'%.*S', Status 0x%08x\n",
+                   KeyName, (int)(KeyString.Length / sizeof(WCHAR)), 
KeyString.Buffer, Status);
             return ERROR_GEN_FAILURE; // STATUS_UNSUCCESSFUL;
         }
 

Reply via email to