Skip to content

Commit

Permalink
Configure: Fix compilation error on some systems
Browse files Browse the repository at this point in the history
See #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.
  • Loading branch information
khwilliamson committed Dec 4, 2024
1 parent 9aaaeb6 commit c9a9e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configure
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c9a9e95

Please sign in to comment.