From 33fda27b84c806b7fe80fe9060801e5d3a8824a5 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 25 Feb 2004 21:45:41 +0000 Subject: Use the -H option instead of the deprecated -follow predicate. --- usr.bin/kdump/mkioctls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') 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)}' -- cgit v1.1