diff options
author | des <des@FreeBSD.org> | 2004-02-25 21:45:41 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-25 21:45:41 +0000 |
commit | 33fda27b84c806b7fe80fe9060801e5d3a8824a5 (patch) | |
tree | bd1f63c4c0ef6ecfeef62bb0b855bd61f5c0f159 /usr.bin/kdump | |
parent | 40452493ee2a89d18609e7a71f114981ff6a315a (diff) | |
download | FreeBSD-src-33fda27b84c806b7fe80fe9060801e5d3a8824a5.zip FreeBSD-src-33fda27b84c806b7fe80fe9060801e5d3a8824a5.tar.gz |
Use the -H option instead of the deprecated -follow predicate.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/mkioctls | 2 |
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)}' |