Index: components/drive/event_logger.h |
diff --git a/components/drive/event_logger.h b/components/drive/event_logger.h |
index 6b82a4c327fadd504a68b5ac126cc68d979b3e56..76b53726d5702f716a3b235042fe3b8322499007 100644 |
--- a/components/drive/event_logger.h |
+++ b/components/drive/event_logger.h |
@@ -44,8 +44,9 @@ class EventLogger { |
// Logs a message with formatting. |
// Can be called from any thread as long as the object is alive. |
- void Log(logging::LogSeverity severity, const char* format, ...) |
- PRINTF_FORMAT(3, 4); |
+ void Log(logging::LogSeverity severity, |
+ _Printf_format_string_ const char* format, |
+ ...) PRINTF_FORMAT(3, 4); |
// Sets the history size. The existing history is cleared. |
// Can be called from any thread as long as the object is alive. |