diff options
Diffstat (limited to 'lib/libc/net/getnetbynis.c')
-rw-r--r-- | lib/libc/net/getnetbynis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/getnetbynis.c b/lib/libc/net/getnetbynis.c index de5ccd1..4725cfb 100644 --- a/lib/libc/net/getnetbynis.c +++ b/lib/libc/net/getnetbynis.c @@ -88,7 +88,7 @@ _getnetbynis(const char *name, char *map, int af, struct netent *ne, ep = ned->netbuf + sizeof ned->netbuf; len = strlen(result) + 1; if (ep - bp < len) { - h_errno = NETDB_INTERNAL; + h_errno = NO_RECOVERY; return -1; } strlcpy(bp, result, ep - bp); |