diff --git a/src/util/virtaudit.h b/src/util/virtaudit.h index 37046f281fbaef780c7e7ee688a1917bd18d19a0..6c4deebc4ad8ec0298f1541ea0dc0e2907b262c7 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);