diff options
Diffstat (limited to 'trace.c')
-rw-r--r-- | trace.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -75,7 +75,8 @@ static void trace_vprintf(const char *key, const char *fmt, va_list ap) strbuf_release(&buf); } -static void trace_printf_key(const char *key, const char *fmt, ...) +__attribute__((format (printf, 2, 3))) +void trace_printf_key(const char *key, const char *fmt, ...) { va_list ap; va_start(ap, fmt); |