summaryrefslogtreecommitdiff
path: root/h2pl
diff options
context:
space:
mode:
Diffstat (limited to 'h2pl')
-rw-r--r--h2pl/getioctlsizes2
1 files changed, 1 insertions, 1 deletions
diff --git a/h2pl/getioctlsizes b/h2pl/getioctlsizes
index b7d4a0dfb5..403fffaf86 100644
--- a/h2pl/getioctlsizes
+++ b/h2pl/getioctlsizes
@@ -3,7 +3,7 @@
open (IOCTLS,'/usr/include/sys/ioctl.h') || die "ioctl open failed";
while (<IOCTLS>) {
- if (/^\s*#\s*define\s+\w+\s+_IO(R|W|WR)\(\w+,\s*\w+,\s*([^)]+)/) {
+ if (/^\s*#\s*define\s+\w+\s+_IO(R|W|WR)\('?\w+'?,\s*\w+,\s*([^)]+)/) {
$need{$2}++;
}
}