aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/net.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d119f7b..27db2ed 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-29 Corinna Vinschen <corinna@vinschen.de>
+
+ * net.cc (getdomainname): Fix registry key for NT systems.
+
2002-01-28 Christopher Faylor <cgf@redhat.com>
* external.cc (cygwin_internal): Initialize various internal settings
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 01beab7..be783ea 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1629,6 +1629,7 @@ getdomainname (char *domain, int len)
(!wincap.is_winnt ()) ? "System" : "SYSTEM",
"CurrentControlSet", "Services",
(!wincap.is_winnt ()) ? "MSTCP" : "Tcpip",
+ (!wincap.is_winnt ()) ? NULL : "Parameters",
NULL);
/* FIXME: Are registry keys case sensitive? */