[libvirt] [PATCH] check-spacing: fix error message

Ján Tomko jtomko at redhat.com
Wed Jun 15 14:08:55 UTC 2016


The check for whitespace before comma or semicolon referred
to comma as colon.
---
 build-aux/check-spacing.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Pushed as trivial.

diff --git a/build-aux/check-spacing.pl b/build-aux/check-spacing.pl
index f4fedbc..448acf2 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;
             }
-- 
2.7.3




More information about the libvir-list mailing list