aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-07-05 18:39:02 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-07-05 18:39:02 +0000
commitf1e0a986a883ca897cf829667ea4317a54c3ef8a (patch)
tree746459111c3da3ac451ce53c4bcdaed61cfcd1aa /usr.sbin
parent51c854f02808834e56c3bb7d5092980a66114165 (diff)
downloadsrc-f1e0a986a883ca897cf829667ea4317a54c3ef8a.tar.gz
src-f1e0a986a883ca897cf829667ea4317a54c3ef8a.zip
Fix build after r336011
Add libnv to bootstrap-tools, use ${SRCTOP}/sys headers.
Notes
Notes: svn path=/head/; revision=336012
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/Makefile2
-rw-r--r--usr.sbin/config/mkmakefile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 800192e50f26..12e62bfbb497 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -14,7 +14,7 @@ kernconf.c: kernconf.tmpl
${FILE2C} 'char kernconfstr[] = {' ',0};' < \
${SRCDIR}/kernconf.tmpl > kernconf.c
-CFLAGS+= -I. -I${SRCDIR}
+CFLAGS+= -I. -I${SRCDIR} -I${SRCTOP}/sys
NO_WMISSING_VARIABLE_DECLARATIONS=
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c
index 12b83e44ffd9..edde07ce694a 100644
--- a/usr.sbin/config/mkmakefile.c
+++ b/usr.sbin/config/mkmakefile.c
@@ -286,7 +286,7 @@ dump_nvlist(nvlist_t *nvl, FILE *ofp)
fprintf(ofp, "\"%s=%s\\0\"\n", name,
cnvlist_get_string(cookie));
- cnvlist_free_string(nvl, cookie);
+ cnvlist_free_string(cookie);
}
}