diff options
Diffstat (limited to 'nsswitch/wins.c')
-rw-r--r-- | nsswitch/wins.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nsswitch/wins.c b/nsswitch/wins.c index dccb6dd90ed..19d3c5b4fcc 100644 --- a/nsswitch/wins.c +++ b/nsswitch/wins.c @@ -260,8 +260,7 @@ _nss_wins_gethostbyname_r(const char *hostname, ip = lookup_byname_backend(name); if (ip == NULL) { - *errnop = EINVAL; - *h_errnop = NETDB_INTERNAL; + *h_errnop = HOST_NOT_FOUND; nss_status = NSS_STATUS_NOTFOUND; goto out; } |