[PATCH] check-spacing: fix error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]