From c9a9e95023afd06c29fb29c1d5762b9e7e3ad084 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 30 Nov 2024 07:51:59 -0700 Subject: [PATCH] Configure: Fix compilation error on some systems See https://github.com/Perl/perl5/issues/22793 This typo in a printf format causes some C compilations to fail; others to just warn. However stderr is redirected to /dev/null, so we weren't aware of this issue. When it fails, other issues cause perl to not be usable on the system. --- Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configure b/Configure index 4da7088bffdb..72c3794dd664 100755 --- a/Configure +++ b/Configure @@ -17724,7 +17724,7 @@ main (const int argc, const char ** argv) /* Here isn't name=value pairs. Find the position of the alternate */ const char * alt_pos = strstr(lc_all, alternate); if (! alt_pos) { - fprintf(stderr, "Couldn't find '%s' in '%'s\n", alternate, lc_all); + fprintf(stderr, "Couldn't find '%s' in '%s'\n", alternate, lc_all); return 1; }