提交 55a99383 编写于 作者: D Daniel P. Berrange

Add printf format attribute annotation to virAuditSend method

* src/util/virtaudit.h: Add printf format attribute annotation
上级 6a75a3fa
......@@ -39,7 +39,8 @@ void virAuditLog(int enabled);
void virAuditSend(const char *file, const char *func, size_t linenr,
const char *clienttty, const char *clientaddr,
enum virAuditRecordType type, bool success,
const char *fmt, ...);
const char *fmt, ...)
ATTRIBUTE_FMT_PRINTF(8, 9);
char *virAuditEncode(const char *key, const char *value);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册