diff options
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r-- | gcc/c-format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c index f413e39d411..f27d6d03a11 100644 --- a/gcc/c-format.c +++ b/gcc/c-format.c @@ -833,7 +833,8 @@ check_function_format (tree attrs, tree params) break; } if (args != 0) - warning (0, "function might be possible candidate for %qs format attribute", + warning (OPT_Wattributes, "function might be possible " + "candidate for %qs format attribute", format_types[info.format_type].name); } } |