mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-02-13 10:54:23 +01:00
Make failure() check for print attributes.
This commit is contained in:
parent
4b2a0a4714
commit
21719310f4
2
util.h
2
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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue