summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isccfg/parser.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-04 18:45:07 +0000
committerflorian <florian@openbsd.org>2020-02-04 18:45:07 +0000
commit217d53ce1ee21a790df87d68dd5fca5db46ee871 (patch)
tree4be07e968b8df2eaa22884b5c303280fd59ce2f8 /usr.sbin/bind/lib/isccfg/parser.c
parentWe are not going to generate sig0 records so we can rip out the (diff)
downloadwireguard-openbsd-217d53ce1ee21a790df87d68dd5fca5db46ee871.tar.xz
wireguard-openbsd-217d53ce1ee21a790df87d68dd5fca5db46ee871.zip
Remove a bunch of unused functions who access the filesystem and then
get rid of lib/isc/unix/dir.c
Diffstat (limited to 'usr.sbin/bind/lib/isccfg/parser.c')
-rw-r--r--usr.sbin/bind/lib/isccfg/parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bind/lib/isccfg/parser.c b/usr.sbin/bind/lib/isccfg/parser.c
index 0505cf9b032..a08a297e133 100644
--- a/usr.sbin/bind/lib/isccfg/parser.c
+++ b/usr.sbin/bind/lib/isccfg/parser.c
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <isc/buffer.h>
-#include <isc/dir.h>
#include <isc/formatcheck.h>
#include <isc/lex.h>
#include <isc/log.h>
@@ -1153,7 +1152,7 @@ parser_complain(cfg_parser_t *pctx, isc_boolean_t is_warning,
va_list args)
{
char tokenbuf[MAX_LOG_TOKEN + 10];
- static char where[ISC_DIR_PATHMAX + 100];
+ static char where[PATH_MAX + 100];
static char message[2048];
int level = ISC_LOG_ERROR;
const char *prep = "";