mirror of
https://github.com/curl/curl.git
synced 2026-05-14 12:56:21 +03:00
badwords.pl: fix variable in printf mask
Causing warnings if a matched line has mask patterns. Closes #19534
This commit is contained in:
parent
231e8a71e1
commit
7bb59a7dc7
1 changed files with 1 additions and 1 deletions
2
.github/scripts/badwords.pl
vendored
2
.github/scripts/badwords.pl
vendored
|
|
@ -94,7 +94,7 @@ sub file {
|
|||
}
|
||||
|
||||
print STDERR "$f:$l:$c: error: found bad word \"$w\"\n";
|
||||
printf STDERR " %4d | $in\n", $l;
|
||||
printf STDERR " %4d | %s\n", $l, $in;
|
||||
printf STDERR " | %*s^%s\n", length($p), " ",
|
||||
"~" x (length($w)-1);
|
||||
printf STDERR " maybe use \"%s\" instead?\n", $alt{$w};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue