[MKHIVE] Fix compilation warnings.

This commit is contained in:
Hermès Bélusca-Maïto 2018-10-15 00:32:48 +02:00
parent a28461124b
commit 473ca91166
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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;
}