submitted-missing-etc-hosts
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 25 Aug 2025 19:11:05 +0000 (21:11 +0200)
committerAurelien Jarno <aurel32@debian.org>
Mon, 25 Aug 2025 19:11:05 +0000 (21:11 +0200)
Gbp-Pq: Topic any
Gbp-Pq: Name submitted-missing-etc-hosts.diff

nss/nss_files/files-hosts.c

index 9219ebefd4e7cb2f48fad2ce0b356a644d1d00c5..0380e52efbf322094fb2d04f27d49c065a8c8a66 100644 (file)
@@ -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;