public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Fix trace output for getdomainname()
Date: Mon,  7 Dec 2020 09:41:00 +0000 (GMT)	[thread overview]
Message-ID: <20201207094100.971723857027@sourceware.org> (raw)

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


                 reply	other threads:[~2020-12-07  9:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201207094100.971723857027@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).