From dc7fc2cad8ebe5c78faeb79af5482fda7f9b6a45 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Mon, 15 Jun 2015 06:44:22 +0000 Subject: [PATCH] Use cpp -I$includedir "cpp -I$1" was expanding to "cpp -Iprint" which was not the proper directory of header files. --- usr.bin/kdump/mkioctls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index 6880ee6fff4..a5633418192 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -39,7 +39,7 @@ case "${MACHINE}" in esac awk -v x="$ioctl_includes" 'BEGIN {print x}' | - $CPP -nostdinc -I$1 -dM -DCOMPAT_43TTY - | + $CPP -nostdinc -I$includedir -dM -DCOMPAT_43TTY - | awk -v ioctl_includes="$ioctl_includes" -v style="$style" ' BEGIN { print "/* XXX obnoxious prerequisites. */"