summaryrefslogtreecommitdiff
path: root/resolv/inet_neta.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/inet_neta.c')
-rw-r--r--resolv/inet_neta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/inet_neta.c b/resolv/inet_neta.c
index ff92d5f2dc..27908d4a47 100644
--- a/resolv/inet_neta.c
+++ b/resolv/inet_neta.c
@@ -77,6 +77,6 @@ inet_neta(src, dst, size)
return (odst);
emsgsize:
- errno = EMSGSIZE;
+ __set_errno (EMSGSIZE);
return (NULL);
}