]> xenbits.xensource.com Git - libvirt.git/commitdiff
build-aux: header-ifdef: Fix typos
authorCole Robinson <crobinso@redhat.com>
Wed, 3 Apr 2019 21:25:37 +0000 (17:25 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 4 Apr 2019 22:42:08 +0000 (18:42 -0400)
Acked-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
build-aux/header-ifdef.pl

index ccabf14055d869bce1261361e376b469e0bc0426..297696eb70abbc0cd045d0d125982e3c5c45ec6a 100644 (file)
@@ -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 {