aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2006-08-30 15:14:00 +0000
committerBrooks Davis <brooks@FreeBSD.org>2006-08-30 15:14:00 +0000
commit0fffba68bd45272dcd8852234318b92482c69ff3 (patch)
treed5dc6a8357f967be1aa3f32ea888303fde568c7d /usr.sbin/sysinstall
parent384555d9781cda728ba7db497dcb136f01167d58 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index ba8e1cd4edc7..850e9ba20edc 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -636,8 +636,8 @@ skip:
return DITEM_FAILURE;
/* Add an entry for localhost */
if (dp) {
- fprintf(fp, "::1\t\t\tlocalhost.%s localhost\n", dp);
- fprintf(fp, "127.0.0.1\t\tlocalhost.%s localhost\n", dp);
+ fprintf(fp, "::1\t\t\tlocalhost localhost.%s\n", dp);
+ fprintf(fp, "127.0.0.1\t\tlocalhost localhost.%s\n", dp);
} else {
fprintf(fp, "::1\t\t\tlocalhost\n");
fprintf(fp, "127.0.0.1\t\tlocalhost\n");