diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-05-01 19:03:14 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-05-01 19:03:14 +0000 |
| commit | d05090827f0e5b95cc7d2bcdde8b3b4e0f986241 (patch) | |
| tree | 736595316c161b3d1ae559f331feaa6ba12b500e /lib/libc/net/hesiod.c | |
| parent | 9501b60383bd4123b406e604b1fbe8108778c634 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/hesiod.c')
| -rw-r--r-- | lib/libc/net/hesiod.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/net/hesiod.c b/lib/libc/net/hesiod.c index 214f86ef9b71..c22bdbad836b 100644 --- a/lib/libc/net/hesiod.c +++ b/lib/libc/net/hesiod.c @@ -51,7 +51,6 @@ static char *orig_rcsid = "$NetBSD: hesiod.c,v 1.9 1999/02/11 06:16:38 simonb Ex #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include "namespace.h" #include <sys/types.h> #include <sys/param.h> #include <netinet/in.h> @@ -65,7 +64,6 @@ __FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> #include <unistd.h> -#include "un-namespace.h" struct hesiod_p { char *lhs; /* normally ".ns" */ @@ -165,7 +163,7 @@ hesiod_to_bind(void *context, const char *name, const char *type) const char *rhs; int len; - if (_strlcpy(bindname, name, sizeof(bindname)) >= sizeof(bindname)) { + if (strlcpy(bindname, name, sizeof(bindname)) >= sizeof(bindname)) { errno = EMSGSIZE; return NULL; } |
