Fix an off-by-nine error when building a list of includes.
This commit is contained in:
parent
f30cce5c6c
commit
a7e7621042
@ -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'/$/>/'
|
||||
`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user