diff options
author | Anton Lavrentiev via Cygwin-patches <cygwin-patches@cygwin.com> | 2022-01-15 01:10:13 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-01-17 13:32:00 +0300 |
commit | 1dd65a9ede44cafe8a52b8d85becca73d4fd7786 (patch) | |
tree | 8983170c8c0ca9ec80e038eae3ca3ea6173061e6 /winsup | |
parent | 746e7f1b060911dd87d52f175f454c0d693a6627 (diff) |
Use matching format for NTSTATUS
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/libc/minires-os-if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c index 666a008de..6e17de0b8 100644 --- a/winsup/cygwin/libc/minires-os-if.c +++ b/winsup/cygwin/libc/minires-os-if.c @@ -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; } |