diff --git a/apps/xmlrpc2di/xmlrpc++/src/XmlRpcUtil.h b/apps/xmlrpc2di/xmlrpc++/src/XmlRpcUtil.h index da01f6fe..d7190c20 100644 --- a/apps/xmlrpc2di/xmlrpc++/src/XmlRpcUtil.h +++ b/apps/xmlrpc2di/xmlrpc++/src/XmlRpcUtil.h @@ -50,10 +50,10 @@ namespace XmlRpc { //! Dump messages somewhere - static void log(int level, const char* fmt, ...); + static void log(int level, const char* fmt, ...) __attribute__((format(printf, 2, 3))); //! Dump error messages somewhere - static void error(const char* fmt, ...); + static void error(const char* fmt, ...) __attribute__((format(printf, 1, 2))); }; } // namespace XmlRpc