aboutsummaryrefslogtreecommitdiffstats
path: root/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'env.c')
-rw-r--r--env.c2
1 files changed, 1 insertions, 1 deletions
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)