]> git.ipfire.org Git - thirdparty/git.git/blobdiff - add-patch.c
Merge branch 'jk/apply-binary-hunk-parsing-fix'
[thirdparty/git.git] / add-patch.c
index 2fad92ca373292f328d5e5de4584638faa7bbd45..8c41cdfe39be041e7d119737a83d754a06733649 100644 (file)
@@ -280,6 +280,7 @@ static void add_p_state_clear(struct add_p_state *s)
        clear_add_i_state(&s->s);
 }
 
+__attribute__((format (printf, 2, 3)))
 static void err(struct add_p_state *s, const char *fmt, ...)
 {
        va_list args;