build-aux: header-ifdef: Fix typos

Acked-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2019-04-03 17:25:37 -04:00
parent b188660865
commit cc8ce8eeaf

View File

@ -106,7 +106,7 @@ while (<>) {
} }
} elsif ($state == $STATE_PRIV_START) { } elsif ($state == $STATE_PRIV_START) {
if (/^$/) { if (/^$/) {
&mistake("$file: too many blank lines after coyright header"); &mistake("$file: too many blank lines after copyright header");
} elsif (/#ifndef $ifdefpriv$/) { } elsif (/#ifndef $ifdefpriv$/) {
$state = $STATE_PRIV_ERROR; $state = $STATE_PRIV_ERROR;
} else { } else {
@ -131,7 +131,7 @@ while (<>) {
$state = $STATE_GUARD_START; $state = $STATE_GUARD_START;
} elsif ($state == $STATE_GUARD_START) { } elsif ($state == $STATE_GUARD_START) {
if (/^$/) { if (/^$/) {
&mistake("$file: too many blank lines after coyright header"); &mistake("$file: too many blank lines after copyright header");
} elsif (/#ifndef $ifdef$/) { } elsif (/#ifndef $ifdef$/) {
$state = $STATE_GUARD_DEFINE; $state = $STATE_GUARD_DEFINE;
} else { } else {