From: Cole Robinson Date: Wed, 3 Apr 2019 21:25:37 +0000 (-0400) Subject: build-aux: header-ifdef: Fix typos X-Git-Tag: v5.3.0-rc1~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc8ce8eeafc1b70d12416d407152ed2d3a815469;p=thirdparty%2Flibvirt.git build-aux: header-ifdef: Fix typos Acked-by: Eric Blake Signed-off-by: Cole Robinson --- 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 {