diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 27db2edc9..d555fb0a0 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-01-29 Corinna Vinschen + + * net.cc (getdomainname): Fix registry key for 9x systems, too. + 2002-01-29 Corinna Vinschen * net.cc (getdomainname): Fix registry key for NT systems. diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index be783ea6a..ac6fdc95e 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -1628,8 +1628,8 @@ getdomainname (char *domain, int len) reg_key r (HKEY_LOCAL_MACHINE, KEY_READ, (!wincap.is_winnt ()) ? "System" : "SYSTEM", "CurrentControlSet", "Services", - (!wincap.is_winnt ()) ? "MSTCP" : "Tcpip", - (!wincap.is_winnt ()) ? NULL : "Parameters", + (!wincap.is_winnt ()) ? "VxD" : "Tcpip", + (!wincap.is_winnt ()) ? "MSTCP" : "Parameters", NULL); /* FIXME: Are registry keys case sensitive? */