summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-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 */