OSDN Git Service

PR 23445
[pf3gnuchains/gcc-fork.git] / gcc / c-format.c
index 587f15e..7d5af42 100644 (file)
@@ -896,8 +896,8 @@ check_function_format (tree attrs, tree params)
                        break;
                    }
                  if (args != 0)
-                   warning (OPT_Wattributes, "function might be possible "
-                            "candidate for %qs format attribute",
+                   warning (OPT_Wmissing_format_attribute, "function might "
+                            "be possible candidate for %qs format attribute",
                             format_types[info.format_type].name);
                }
            }