From: Viktor Szakats Date: Fri, 14 Nov 2025 16:57:03 +0000 (+0100) Subject: badwords.pl: fix variable in printf mask X-Git-Tag: rc-8_18_0-1~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bb59a7dc7e17cee3a820099d586d31c5782fdd5;p=thirdparty%2Fcurl.git badwords.pl: fix variable in printf mask Causing warnings if a matched line has mask patterns. Closes #19534 --- diff --git a/.github/scripts/badwords.pl b/.github/scripts/badwords.pl index c6229f4ad4..e119617d0a 100755 --- a/.github/scripts/badwords.pl +++ b/.github/scripts/badwords.pl @@ -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};