summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mount_portalfs/Makefile2
-rw-r--r--usr.sbin/mount_portalfs/portald.h2
-rw-r--r--usr.sbin/pstat/Makefile1
-rw-r--r--usr.sbin/pstat/pstat.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/mount_portalfs/Makefile b/usr.sbin/mount_portalfs/Makefile
index 00b96dc..fc332ee 100644
--- a/usr.sbin/mount_portalfs/Makefile
+++ b/usr.sbin/mount_portalfs/Makefile
@@ -7,7 +7,7 @@ SRCS= mount_portal.c activate.c conf.c getmntopts.c pt_conf.c \
MAN= mount_portal.8
MOUNT= ${.CURDIR}/../mount
-CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
+CFLAGS+=-I${MOUNT}
.PATH: ${MOUNT}
.include <bsd.prog.mk>
diff --git a/usr.sbin/mount_portalfs/portald.h b/usr.sbin/mount_portalfs/portald.h
index 4131834..5837bd7 100644
--- a/usr.sbin/mount_portalfs/portald.h
+++ b/usr.sbin/mount_portalfs/portald.h
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-#include <miscfs/portal/portal.h>
+#include <fs/portalfs/portal.h>
/*
* Meta-chars in an RE. Paths in the config file containing
diff --git a/usr.sbin/pstat/Makefile b/usr.sbin/pstat/Makefile
index 72a86aa..b96e391 100644
--- a/usr.sbin/pstat/Makefile
+++ b/usr.sbin/pstat/Makefile
@@ -2,7 +2,6 @@
# $FreeBSD$
PROG= pstat
-CFLAGS+=-I${.CURDIR}/../../sys
BINGRP= kmem
BINMODE=2555
DPADD= ${LIBKVM}
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 7ac83fb..d8ddfbf 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -56,7 +56,7 @@ static const char rcsid[] =
#include <sys/mount.h>
#include <sys/uio.h>
#include <sys/namei.h>
-#include <miscfs/union/union.h>
+#include <fs/unionfs/union.h>
#undef _KERNEL
#include <sys/stat.h>
#include <nfs/rpcv2.h>
OpenPOWER on IntegriCloud