public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Fix trace output for getdomainname()
@ 2020-12-07  9:41 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2020-12-07  9:41 UTC (permalink / raw)
  To: cygwin-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-07  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07  9:41 [newlib-cygwin] Fix trace output for getdomainname() Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).