Fix format specifier for wide-char string

This commit is contained in:
Anton Lavrentiev via Cygwin-patches 2022-01-14 17:10:12 -05:00 committed by Corinna Vinschen
parent 7c02fc3075
commit 746e7f1b06
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ static void get_registry_dns(res_state statp)
NTSTATUS status;
const PCWSTR keyName = L"Tcpip\\Parameters";
DPRINTF(statp->options & RES_DEBUG, "key %s\n", keyName);
DPRINTF(statp->options & RES_DEBUG, "key %ls\n", keyName);
status = RtlCheckRegistryKey (RTL_REGISTRY_SERVICES, keyName);
if (!NT_SUCCESS (status))
{