From 21719310f447c880f1f160b9a002beffec4a001b Mon Sep 17 00:00:00 2001 From: ckolivas Date: Fri, 13 Feb 2026 11:16:00 +1100 Subject: [PATCH] Make failure() check for print attributes. --- util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.h b/util.h index de7b74b..e5934aa 100644 --- a/util.h +++ b/util.h @@ -58,7 +58,7 @@ static inline void __attribute__((format(printf, 5, 6))) fatal(const rzip_contro fatal stuff; \ goto label; \ } while (0) -static inline void failure(const rzip_control *control, unsigned int line, const char *file, const char *func, const char *format, ...) +static inline void __attribute__((format(printf, 5, 6))) failure(const rzip_control *control, unsigned int line, const char *file, const char *func, const char *format, ...) { va_list ap;