From: Ján Tomko Date: Wed, 15 Jun 2016 14:05:08 +0000 (+0200) Subject: check-spacing: fix error message X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3cc13e005df39932d13c9d0b020ac742fbe619a8;p=libvirt.git check-spacing: fix error message The check for whitespace before comma or semicolon referred to comma as colon. --- diff --git a/build-aux/check-spacing.pl b/build-aux/check-spacing.pl index f4fedbcea4..448acf2345 100755 --- a/build-aux/check-spacing.pl +++ b/build-aux/check-spacing.pl @@ -138,7 +138,7 @@ foreach my $file (@ARGV) { if ($data =~ /\s[;,]/) { unless ($data =~ /\S; ; / || $data =~ /^\s+;/) { - print "Whitespace before (semi)colon:\n"; + print "Whitespace before semicolon or comma:\n"; print "$file:$.: $line"; $ret = 1; }