summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
diff options
context:
space:
mode:
authorSami Kerola2012-10-12 23:11:16 +0200
committerKarel Zak2012-10-22 10:14:36 +0200
commit74b3df85f7f8d3a34a0b97c02413dd602a7b12c8 (patch)
tree6f68bf9661f67baed1ac5124575ab6475828fafb /term-utils/agetty.8
parentlogger: replace gethostbyname() with getaddrinfo() (diff)
downloadkernel-qcow2-util-linux-74b3df85f7f8d3a34a0b97c02413dd602a7b12c8.tar.gz
kernel-qcow2-util-linux-74b3df85f7f8d3a34a0b97c02413dd602a7b12c8.tar.xz
kernel-qcow2-util-linux-74b3df85f7f8d3a34a0b97c02413dd602a7b12c8.zip
agetty: replace gethostbyname() with getaddrinfo()
The gethostbyname() is legacy function which may be withdrawn in a future. Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/gethostbyname.html Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r--term-utils/agetty.82
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index e400ec855..e51017d0d 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -215,7 +215,7 @@ no hostname at all will be shown.
\-\-long\-hostname
By default the hostname is only printed until the first dot. With
this option enabled, the full qualified hostname by gethostname()
-or if not found by gethostbyname() is shown.
+or if not found by getaddrinfo() is shown.
.TP
\-\-version
Output version information and exit.