From 6c9c37d0a907eabd9df89e94536167d39802e48e Mon Sep 17 00:00:00 2001 From: Anton Lavrentiev via Cygwin-patches Date: Fri, 4 Dec 2020 17:58:01 -0500 Subject: [PATCH] Fix trace output for getdomainname() --- winsup/cygwin/net.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 724e787fe..cec0a70cc 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -772,7 +772,7 @@ getdomainname (char *domain, size_t len) && GetNetworkParams(info, &size) == ERROR_SUCCESS) { strncpy(domain, info->DomainName, len); - debug_printf ("gethostname %s", domain); + debug_printf ("getdomainname %s", domain); return 0; } __seterrno ();