diff --git a/tools/style/stylecheck.pl b/tools/style/stylecheck.pl index a91d6b2b5..5124dd331 100644 --- a/tools/style/stylecheck.pl +++ b/tools/style/stylecheck.pl @@ -91,7 +91,7 @@ foreach my $line (@c_source) { #**************************************************************************** # Check on EOL. - if (not ($line =~ /$cr$lf$/)) { + if (not ($line =~ /$lf$/)) { error "detected malformed EOL"; } $line =~ s/$cr//;