* src/util/virtaudit.h: Add printf format attribute annotation --- src/util/virtaudit.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/util/virtaudit.h b/src/util/virtaudit.h index 37046f2..6c4deeb 100644 --- a/src/util/virtaudit.h +++ b/src/util/virtaudit.h @@ -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); -- 1.7.2.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list