diff options
author | Nick Hibma <n_hibma@FreeBSD.org> | 1999-03-27 22:41:40 +0000 |
---|---|---|
committer | Nick Hibma <n_hibma@FreeBSD.org> | 1999-03-27 22:41:40 +0000 |
commit | 2bee57be2f5e9c2bb3d00bbaf5c26bf3678ea8dc (patch) | |
tree | 0122530d2f73fd3c72704221515b3b6f432fba5d /sys/kern/makedevops.pl | |
parent | 9b030d1073af74671ea686bb3b7929a981597da8 (diff) | |
download | src-2bee57be2f5e9c2bb3d00bbaf5c26bf3678ea8dc.tar.gz src-2bee57be2f5e9c2bb3d00bbaf5c26bf3678ea8dc.zip |
Fixed line counting error.
Notes
Notes:
svn path=/head/; revision=45067
Diffstat (limited to 'sys/kern/makedevops.pl')
-rw-r--r-- | sys/kern/makedevops.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/makedevops.pl b/sys/kern/makedevops.pl index 24e0b146a3f4..a542dcde994b 100644 --- a/sys/kern/makedevops.pl +++ b/sys/kern/makedevops.pl @@ -262,7 +262,9 @@ foreach $src ( @filenames ) { $methods{$name} = 'VIS'; - while ( $line !~ m/}/ and $line .= <SRC> ) { } + while ( $line !~ m/}/ and $line .= <SRC> ) { + $lineno++ + } if ( $line !~ s/};?(.*)// ) { # remove first '}' and trailing garbage # The '}' was not there (the rest is optional), so complain |