[libvirt] [PATCH 1/6] build-aux: header-ifdef: Fix typos

Cole Robinson crobinso at redhat.com
Wed Apr 3 21:52:43 UTC 2019


Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 build-aux/header-ifdef.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build-aux/header-ifdef.pl b/build-aux/header-ifdef.pl
index ccabf14055..297696eb70 100644
--- a/build-aux/header-ifdef.pl
+++ b/build-aux/header-ifdef.pl
@@ -106,7 +106,7 @@ while (<>) {
         }
     } elsif ($state == $STATE_PRIV_START) {
         if (/^$/) {
-            &mistake("$file: too many blank lines after coyright header");
+            &mistake("$file: too many blank lines after copyright header");
         } elsif (/#ifndef $ifdefpriv$/) {
             $state = $STATE_PRIV_ERROR;
         } else {
@@ -116,7 +116,7 @@ while (<>) {
         if (/# error ".*"$/) {
             $state = $STATE_PRIV_END;
         } else {
-            &mistake("$file: missing '#error ...priv allow...'");
+            &mistake("$file: missing '# error ...priv allow...'");
         }
     } elsif ($state == $STATE_PRIV_END) {
         if (m,#endif /\* $ifdefpriv \*/,) {
@@ -131,7 +131,7 @@ while (<>) {
         $state = $STATE_GUARD_START;
     } elsif ($state == $STATE_GUARD_START) {
         if (/^$/) {
-            &mistake("$file: too many blank lines after coyright header");
+            &mistake("$file: too many blank lines after copyright header");
         } elsif (/#ifndef $ifdef$/) {
             $state = $STATE_GUARD_DEFINE;
         } else {
-- 
2.21.0




More information about the libvir-list mailing list