[newlib-cygwin] Fix trace output for getdomainname()

Corinna Vinschen corinna@sourceware.org
Mon Dec 7 09:41:00 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6c9c37d0a907eabd9df89e94536167d39802e48e

commit 6c9c37d0a907eabd9df89e94536167d39802e48e
Author: Anton Lavrentiev via Cygwin-patches <cygwin-patches@cygwin.com>
Date:   Fri Dec 4 17:58:01 2020 -0500

    Fix trace output for getdomainname()

Diff:
---
 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 ();


More information about the Cygwin-cvs mailing list