Index: runtime/platform/assert.h |
diff --git a/runtime/platform/assert.h b/runtime/platform/assert.h |
index 22af38d97704c4a5889702c53ba87c8cba86b1f0..3ad928c9296825d91c88eb9ec6dfce59ae8c9ff8 100644 |
--- a/runtime/platform/assert.h |
+++ b/runtime/platform/assert.h |
@@ -33,7 +33,7 @@ class DynamicAssertionHelper { |
DynamicAssertionHelper(const char* file, int line, Kind kind) |
: file_(file), line_(line), kind_(kind) { } |
- void Fail(const char* format, ...); |
+ void Fail(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); |
#if defined(TESTING) |
template<typename E, typename A> |