summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-06-15 06:44:22 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-06-15 06:44:22 +0000
commite822fdb383b76483f490ce10703d9aab1f93c8a6 (patch)
tree9979d9006536a414aa120a007e8b305c096a2ad1 /usr.bin
parente8af85be57ba16103effcd60a7178d6a911c394c (diff)
downloadFreeBSD-src-e822fdb383b76483f490ce10703d9aab1f93c8a6.zip
FreeBSD-src-e822fdb383b76483f490ce10703d9aab1f93c8a6.tar.gz
Use cpp -I$includedir
"cpp -I$1" was expanding to "cpp -Iprint" which was not the proper directory of header files.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/mkioctls2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index 6880ee6..a563341 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. */"
OpenPOWER on IntegriCloud