Fix an off-by-nine error when building a list of includes.

This commit is contained in:
Ruslan Ermilov 2000-08-01 08:15:06 +00:00
parent f30cce5c6c
commit a7e7621042

View File

@ -22,7 +22,7 @@ ioctl_includes=`
find * -name '*.h' -follow |
egrep -v '^(netns)/' |
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-0_]*[ ]+_IO[^a-z0-9_]' |
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
sed -e 's/^/#include </' -e s'/$/>/'
`