summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpb <pb@FreeBSD.org>2004-04-06 09:31:22 +0000
committerpb <pb@FreeBSD.org>2004-04-06 09:31:22 +0000
commit3e32cfd0f200adcc574356c352b2ada255a50303 (patch)
tree806b927099db521448a1bc69830252792028de07 /lib/libc
parent689a98fa688df3e4778f7818ba32a7bdf8f43006 (diff)
downloadFreeBSD-src-3e32cfd0f200adcc574356c352b2ada255a50303.zip
FreeBSD-src-3e32cfd0f200adcc574356c352b2ada255a50303.tar.gz
Add a missing "*errp = h_errno" forgotten in rev 1.36.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/name6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c
index 1337598..c71511d 100644
--- a/lib/libc/net/name6.c
+++ b/lib/libc/net/name6.c
@@ -1539,7 +1539,8 @@ _res_search_multi(name, rtl, errp)
continue;
hp = _hpcopy(&hpbuf, errp);
hp0 = _hpmerge(hp0, hp, errp);
- }
+ } else
+ *errp = h_errno;
}
free(buf);
return (hp0);
OpenPOWER on IntegriCloud