diff options
Diffstat (limited to 'tools-util.h')
-rw-r--r-- | tools-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools-util.h b/tools-util.h index 568707bc..de8010ee 100644 --- a/tools-util.h +++ b/tools-util.h @@ -22,7 +22,7 @@ #define noreturn __attribute__((noreturn)) -void die(const char *, ...) noreturn; +void die(const char *, ...) __attribute__((format(printf, 1, 2))) noreturn; char *mprintf(const char *, ...) __attribute__ ((format (printf, 1, 2))); void *xcalloc(size_t, size_t); |