From: Hermès Bélusca-Maïto Date: Sun, 14 Oct 2018 22:32:48 +0000 (+0200) Subject: [MKHIVE] Fix compilation warnings. X-Git-Tag: 0.4.12-dev~515 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=473ca9116648a07decd6ce4625c7d3762f31d660 [MKHIVE] Fix compilation warnings. --- diff --git a/sdk/tools/mkhive/registry.c b/sdk/tools/mkhive/registry.c index d6a2028990c..c188d7a53b9 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; }