Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/sha1-file-delta-stack-leakage-fix'
[gitweb.git]
/
trace.c
diff --git
a/trace.c
b/trace.c
index 5ec0e3bd16b5cfc59254c6e10d4555ef3029aa36..08180a90bc0074f821e5f2e05988e27c174be39f 100644
(file)
--- a/
trace.c
+++ b/
trace.c
@@
-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);