From 7817cfc66bfa8df2f102acc87a8346ae2d68e224 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 30 Jan 2021 15:11:25 +0100 Subject: Proper line break for hostname qualification errors. --- env.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/env.c b/env.c index a45d0e96..b3fdebe9 100644 --- a/env.c +++ b/env.c @@ -220,8 +220,7 @@ char *host_fqdn(int required) if (e) { /* exit with error message */ fprintf(stderr, - GT_("getaddrinfo failed for %s\n"), tmpbuf); - fprintf(stderr, "%s", gai_strerror(e)); + GT_("getaddrinfo failed for \"%s\": %s\n"), tmpbuf, gai_strerror(e)); fprintf(stderr, GT_("Cannot find my own host in hosts database to qualify it!\n")); if (required) exit(PS_DNS); -- cgit v1.2.3