summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-25 21:45:41 +0000
committerdes <des@FreeBSD.org>2004-02-25 21:45:41 +0000
commit33fda27b84c806b7fe80fe9060801e5d3a8824a5 (patch)
treebd1f63c4c0ef6ecfeef62bb0b855bd61f5c0f159 /usr.bin
parent40452493ee2a89d18609e7a71f114981ff6a315a (diff)
downloadFreeBSD-src-33fda27b84c806b7fe80fe9060801e5d3a8824a5.zip
FreeBSD-src-33fda27b84c806b7fe80fe9060801e5d3a8824a5.tar.gz
Use the -H option instead of the deprecated -follow predicate.
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 aabc112..ac132a3 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -20,7 +20,7 @@ LC_ALL=C; export LC_ALL
# XXX should we use an ANSI cpp?
ioctl_includes=`
cd $1
- find -s * -name '*.h' -follow |
+ find -H -s * -name '*.h' |
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
awk '{printf("#include <%s>\\\\n", $1)}'
OpenPOWER on IntegriCloud