aboutsummaryrefslogtreecommitdiff
path: root/inet/ether_hton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-04 00:09:53 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-04 00:09:53 +0000
commit630b9a59e11b1f2c0a2e7a41c1100f959c831cd3 (patch)
tree2b8369aac6ccd5afa40ded726c6364f169712b07 /inet/ether_hton.c
parentd6f6ffa1664b0f39aa95973ff97f9995f51ff62d (diff)
downloadglibc-630b9a59e11b1f2c0a2e7a41c1100f959c831cd3.tar
glibc-630b9a59e11b1f2c0a2e7a41c1100f959c831cd3.tar.gz
glibc-630b9a59e11b1f2c0a2e7a41c1100f959c831cd3.tar.bz2
glibc-630b9a59e11b1f2c0a2e7a41c1100f959c831cd3.zip
Update.
1999-08-03 Ulrich Drepper <drepper@cygnus.com> * inet/ether_hton.c: Pass errno pointer to NSS function. * inet/getnetgrent_r.c: Likewise. Reported by Marty Leisner <leisner@rochester.rr.com>.
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);
}