summaryrefslogtreecommitdiff
path: root/contrib/credential/wincred
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/credential/wincred')
-rw-r--r--contrib/credential/wincred/git-credential-wincred.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/credential/wincred/git-credential-wincred.c b/contrib/credential/wincred/git-credential-wincred.c
index 5bdad41de1..5091048f9c 100644
--- a/contrib/credential/wincred/git-credential-wincred.c
+++ b/contrib/credential/wincred/git-credential-wincred.c
@@ -11,6 +11,7 @@
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
+__attribute__((format (printf, 1, 2)))
static void die(const char *err, ...)
{
char msg[4096];