diff options
author | Marius Mauch <genone@gentoo.org> | 2003-12-07 20:00:57 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2003-12-07 20:00:57 +0000 |
commit | 9591669b8089a093d0bb3362c63baf356512d138 (patch) | |
tree | 534ea5739ce381cbbbf175cabf6d445473cd470b /sys-apps/util-linux | |
parent | Mark stable on x86. (diff) | |
download | gentoo-2-9591669b8089a093d0bb3362c63baf356512d138.tar.gz gentoo-2-9591669b8089a093d0bb3362c63baf356512d138.tar.bz2 gentoo-2-9591669b8089a093d0bb3362c63baf356512d138.zip |
fixing the "nknow_domain" bug
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r-- | sys-apps/util-linux/files/util-linux-2.11z-agetty-domainname-option.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/util-linux/files/util-linux-2.11z-agetty-domainname-option.patch b/sys-apps/util-linux/files/util-linux-2.11z-agetty-domainname-option.patch index b0e0caa76bd7..d94d8b81c2a1 100644 --- a/sys-apps/util-linux/files/util-linux-2.11z-agetty-domainname-option.patch +++ b/sys-apps/util-linux/files/util-linux-2.11z-agetty-domainname-option.patch @@ -39,7 +39,7 @@ + struct hostent *hp = NULL; + + if (gethostname(host, HOSTNAME_LENGTH) || !(hp = gethostbyname(host))) { -+ domain = "unknown_domain"; ++ domain = " unknown_domain"; + } else { + /* get the substring after the first . */ + domain = strchr(hp->h_name, '.'); |