]> xenbits.xensource.com Git - libvirt.git/commitdiff
check-spacing: fix error message
authorJán Tomko <jtomko@redhat.com>
Wed, 15 Jun 2016 14:05:08 +0000 (16:05 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 15 Jun 2016 14:05:08 +0000 (16:05 +0200)
The check for whitespace before comma or semicolon referred
to comma as colon.

build-aux/check-spacing.pl

index f4fedbcea458fd736ea1a1c12a79e40dbe844b5a..448acf2345498aeca9aac4613a87fe3dd6cadc01 100755 (executable)
@@ -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;
             }