From 6ae9c025819d4cc8e7e23308e4834af4ec695945 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 22 Apr 2017 23:20:24 +0200 Subject: Remove last traces of gethostbyname(). --- env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'env.c') diff --git a/env.c b/env.c index edf99898..1192e14a 100644 --- a/env.c +++ b/env.c @@ -169,7 +169,7 @@ char *host_fqdn(int required) if (e) { /* exit with error message */ fprintf(stderr, - GT_("gethostbyname failed for %s\n"), tmpbuf); + GT_("getaddrinfo failed for %s\n"), tmpbuf); fprintf(stderr, "%s", gai_strerror(e)); fprintf(stderr, GT_("Cannot find my own host in hosts database to qualify it!\n")); if (required) -- cgit v1.2.3