From e9c67f69d1c08eff846b6b5352df359bb66d9396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 25 Feb 2004 21:45:41 +0000 Subject: [PATCH] Use the -H option instead of the deprecated -follow predicate. --- 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 aabc112707fb..ac132a3343e8 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)}'