diff --git a/src/core/host_interface.h b/src/core/host_interface.h
index 6af55504e..361167319 100644
--- a/src/core/host_interface.h
+++ b/src/core/host_interface.h
@@ -74,7 +74,7 @@ public:
   virtual void AddKeyedOSDMessage(std::string key, std::string message, float duration = 2.0f) = 0;
   virtual void RemoveKeyedOSDMessage(std::string key) = 0;
   void AddFormattedOSDMessage(float duration, const char* format, ...) printflike(3, 4);
-  void AddKeyedFormattedOSDMessage(std::string key, float duration, const char* format, ...) printflike(3, 4);
+  void AddKeyedFormattedOSDMessage(std::string key, float duration, const char* format, ...) printflike(4, 5);
 
   /// Returns the base user directory path.
   ALWAYS_INLINE const std::string& GetUserDirectory() const { return m_user_directory; }