From e3cbedd75d43a77887790702ef51336e876a766a Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Tue, 5 May 2020 19:12:38 +0100 Subject: [PATCH] submitted-missing-etc-hosts Gbp-Pq: Topic any Gbp-Pq: Name submitted-missing-etc-hosts.diff --- nss/nss_files/files-hosts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c index da5967a87..b53a23bd7 100644 --- a/nss/nss_files/files-hosts.c +++ b/nss/nss_files/files-hosts.c @@ -483,7 +483,7 @@ _nss_files_gethostbyname4_r (const char *name, struct gaih_addrtuple **pat, else { *errnop = errno; - *herrnop = NO_DATA; + *herrnop = HOST_NOT_FOUND; } return status; -- 2.30.2