diff options
Diffstat (limited to 'lib/libc/gen/confstr.c')
| -rw-r--r-- | lib/libc/gen/confstr.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/lib/libc/gen/confstr.c b/lib/libc/gen/confstr.c index 2885afd3bd38..966c3fe2ae19 100644 --- a/lib/libc/gen/confstr.c +++ b/lib/libc/gen/confstr.c @@ -37,14 +37,13 @@ static char sccsid[] = "@(#)confstr.c	8.1 (Berkeley) 6/4/93";  #include <sys/cdefs.h>  __FBSDID("$FreeBSD$"); -#include "namespace.h"  #include <sys/param.h> +  #include <errno.h>  #include <limits.h>  #include <paths.h>  #include <string.h>  #include <unistd.h> -#include "un-namespace.h"  size_t @@ -115,7 +114,7 @@ confstr(int name, char *buf, size_t len)  docopy:  		if (len != 0 && buf != NULL) -			_strlcpy(buf, p, len); +			strlcpy(buf, p, len);  		return (strlen(p) + 1);  	default: | 
