Use matching format for NTSTATUS

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

View File

@ -359,7 +359,7 @@ static void get_registry_dns(res_state statp)
status = RtlCheckRegistryKey (RTL_REGISTRY_SERVICES, keyName);
if (!NT_SUCCESS (status))
{
DPRINTF (statp->options & RES_DEBUG, "RtlCheckRegistryKey: status %p\n",
DPRINTF (statp->options & RES_DEBUG, "RtlCheckRegistryKey: status 0x%08X\n",
status);
return;
}
@ -381,7 +381,7 @@ static void get_registry_dns(res_state statp)
if (!NT_SUCCESS (status))
{
DPRINTF (statp->options & RES_DEBUG,
"RtlQueryRegistryValues: status %p\n", status);
"RtlQueryRegistryValues: status 0x%08X\n", status);
return;
}