summaryrefslogtreecommitdiff
path: root/inet/ether_hton.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/ether_hton.c')
-rw-r--r--inet/ether_hton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c
index 92353c19c8..848fe92115 100644
--- a/inet/ether_hton.c
+++ b/inet/ether_hton.c
@@ -73,7 +73,7 @@ ether_hostton (const char *hostname, struct ether_addr *addr)
{
char buffer[1024];
- status = (*fct) (hostname, &etherent, buffer, sizeof buffer);
+ status = (*fct) (hostname, &etherent, buffer, sizeof buffer, &errno);
no_more = __nss_next (&nip, "gethostton_r", (void **) &fct, status, 0);
}