summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/sethostent.c
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>1997-03-15 21:53:50 +0000
committerpefo <pefo@openbsd.org>1997-03-15 21:53:50 +0000
commitc2f5ff13e272b7f45553b152460c9a6ee7a5b6af (patch)
tree1442463abfa847c9a2d9fe6d4c0a8e218123a7fd /lib/libc/net/sethostent.c
parentremove space from tsleep() message (diff)
downloadwireguard-openbsd-c2f5ff13e272b7f45553b152460c9a6ee7a5b6af.tar.xz
wireguard-openbsd-c2f5ff13e272b7f45553b152460c9a6ee7a5b6af.zip
res_close is defined in a macro and should apperently not be used as _res_close.
Diffstat (limited to 'lib/libc/net/sethostent.c')
-rw-r--r--lib/libc/net/sethostent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/sethostent.c b/lib/libc/net/sethostent.c
index 58b50ae0a18..5392a2f11bb 100644
--- a/lib/libc/net/sethostent.c
+++ b/lib/libc/net/sethostent.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: sethostent.c,v 1.3 1996/08/19 08:29:53 tholo Exp $";
+static char rcsid[] = "$OpenBSD: sethostent.c,v 1.4 1997/03/15 21:53:50 pefo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -56,5 +56,5 @@ void
endhostent()
{
_res.options &= ~(RES_STAYOPEN | RES_USEVC);
- _res_close();
+ res_close();
}