diff options
-rwxr-xr-x | build-aux/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/checkpatch.pl b/build-aux/checkpatch.pl index 205567307b1..17ae4e4d579 100755 --- a/build-aux/checkpatch.pl +++ b/build-aux/checkpatch.pl @@ -3099,7 +3099,7 @@ sub process { if (ERROR("SPACING", "space required before the open brace '{'\n" . $herecurr) && $fix) { - $fixed[$linenr - 1] =~ s/^(\+.*(?:do|\))){/$1 {/; + $fixed[$linenr - 1] =~ s/^(\+.*(?:do|\)))\{/$1 {/; } } |