mirror of https://gitee.com/openkylin/libvirt.git
Add printf format attribute annotation to virAuditSend method
* src/util/virtaudit.h: Add printf format attribute annotation
This commit is contained in:
parent
6a75a3fa3d
commit
55a9938333
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue