diff options
Diffstat (limited to 'usr.bin/kdump/mkioctls')
-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)}' |