summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/c-common.c b/gnu/usr.bin/gcc/c-common.c
index aa5e4cea500..bdae4d37632 100644
--- a/gnu/usr.bin/gcc/c-common.c
+++ b/gnu/usr.bin/gcc/c-common.c
@@ -1511,7 +1511,7 @@ check_format_info (info, params)
if (precise && index (flag_chars, '0') != 0
&& (format_char == 'd' || format_char == 'i'
|| format_char == 'o' || format_char == 'u'
- || format_char == 'x' || format_char == 'x'))
+ || format_char == 'x' || format_char == 'X'))
{
sprintf (message,
"`0' flag ignored with precision specifier and `%c' format",