diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e0d8dba672ee4714eb68345d457df104b1cb258b..306239a5a65cc22c67445a3df0a963d6b6bae22d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+	* obj-c++.dg/attributes/method-format-1.mm: Adjust.
+
 2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>
 
 	* objc/compile/20060406-1.m: Fixed testcase not to try to qualify
diff --git a/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm b/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm
index 0a078ff0a3a62e5eb3ebfe68a0564724e3a2d44b..11ce8eebbb5e6536fd20fda627960d8fb6e15615 100644
--- a/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm
+++ b/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm
@@ -27,17 +27,17 @@ void test (LogObject *object)
 {
   [object log: 2  message: "attribute only applies to variadic functions"];
   [object log: 2  message: "attribute %s only applies to variadic functions", "'format'"];
-  [object log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [object log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 
   [object debug: "attribute only applies to variadic functions"];
   [object debug: "attribute %s only applies to variadic functions", "'format'"];
-  [object debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [object debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 
   [LogObject log: 2  message: "attribute only applies to variadic functions"];
   [LogObject log: 2  message: "attribute %s only applies to variadic functions", "'format'"];
-  [LogObject log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [LogObject log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 
   [LogObject debug: "attribute only applies to variadic functions"];
   [LogObject debug: "attribute %s only applies to variadic functions", "'format'"];
-  [LogObject debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [LogObject debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 }