summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-01 07:32:30 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-01 07:32:30 +0000
commit0ada7088a6ff0cf07dab4e87123efe28456aafc6 (patch)
treebbeeb9c5fbeecca588e4415d1abe17b6ca760a46
parent15b49fd92914a74829709f76b6134ecfbfab408c (diff)
downloaddrakx-0ada7088a6ff0cf07dab4e87123efe28456aafc6.tar
drakx-0ada7088a6ff0cf07dab4e87123efe28456aafc6.tar.gz
drakx-0ada7088a6ff0cf07dab4e87123efe28456aafc6.tar.bz2
drakx-0ada7088a6ff0cf07dab4e87123efe28456aafc6.tar.xz
drakx-0ada7088a6ff0cf07dab4e87123efe28456aafc6.zip
drop non-standard tld (localdomain)
-rw-r--r--mdk-stage1/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 24bc373a6..622e38ff6 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -488,7 +488,7 @@ int main(int argc, char **argv)
// print_error("could not set new controlling tty");
if (!testing) {
- char my_hostname[] = "localhost.localdomain";
+ char my_hostname[] = "localhost";
sethostname(my_hostname, sizeof(my_hostname));
/* the default domainname (as of 2.0.35) is "(none)", which confuses
glibc */