summaryrefslogtreecommitdiff
path: root/builtin-upload-archive.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 16:28:14 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 16:28:14 -0800
commit82f05d5dd7ec54c4cd30f016c4380b21245e0d63 (patch)
treec81b46f0c28579c06b886074149e9762921a3ddc /builtin-upload-archive.c
parentMerge branch 'tr/maint-merge-ours-clarification' (early part) (diff)
parentCheck the format of more printf-type functions (diff)
downloadtgif-82f05d5dd7ec54c4cd30f016c4380b21245e0d63.tar.xz
Merge branch 'tc/format-attribute'
* tc/format-attribute: Check the format of more printf-type functions
Diffstat (limited to 'builtin-upload-archive.c')
-rw-r--r--builtin-upload-archive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-upload-archive.c b/builtin-upload-archive.c
index 29446e84cc..73f788ef24 100644
--- a/builtin-upload-archive.c
+++ b/builtin-upload-archive.c
@@ -67,6 +67,7 @@ static int run_upload_archive(int argc, const char **argv, const char *prefix)
return write_archive(sent_argc, sent_argv, prefix, 0);
}
+__attribute__((format (printf, 1, 2)))
static void error_clnt(const char *fmt, ...)
{
char buf[1024];