Index: runtime/vm/dart_api_impl.h |
diff --git a/runtime/vm/dart_api_impl.h b/runtime/vm/dart_api_impl.h |
index 1fa0763df5ac7cac00710d885b3c2036003ba34b..38211bdb1bd6f1b7fbc3735dfee0c80554876995 100644 |
--- a/runtime/vm/dart_api_impl.h |
+++ b/runtime/vm/dart_api_impl.h |
@@ -135,7 +135,7 @@ class Api : AllStatic { |
} |
// Generates a handle used to designate an error return. |
- static Dart_Handle NewError(const char* format, ...); |
+ static Dart_Handle NewError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); |
// Gets a handle to Null. |
static Dart_Handle Null(Isolate* isolate); |