aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorAnton Lavrentiev via Cygwin-patches <cygwin-patches@cygwin.com>2022-01-14 17:10:12 -0500
committerCorinna Vinschen <corinna@vinschen.de>2022-01-17 11:30:35 +0100
commit746e7f1b060911dd87d52f175f454c0d693a6627 (patch)
tree64b9fef7645d9561f22c8074ca245e406c15e23f /winsup
parent7c02fc3075d1929b95dfff7b427e72ca0313cc38 (diff)
downloadnewlib-746e7f1b060911dd87d52f175f454c0d693a6627.zip
newlib-746e7f1b060911dd87d52f175f454c0d693a6627.tar.gz
newlib-746e7f1b060911dd87d52f175f454c0d693a6627.tar.bz2
Fix format specifier for wide-char string
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/libc/minires-os-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c
index 5651581..666a008 100644
--- a/winsup/cygwin/libc/minires-os-if.c
+++ b/winsup/cygwin/libc/minires-os-if.c
@@ -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))
{