From f238d309d9446d0e505c857d9aa310837dc63cda Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Mon, 10 Apr 2023 09:35:16 +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 9219ebefd..0380e52ef 100644 --- a/nss/nss_files/files-hosts.c +++ b/nss/nss_files/files-hosts.c @@ -487,7 +487,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