diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-06-18 00:55:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-18 00:55:55 +0200 |
commit | cff3b034d5e75c84725823290afed62c93bc2317 (patch) | |
tree | 6a4ca6ecc757d40a079bc25d5094a68cb4c6c406 /run-command.c | |
parent | Merge branch 'ps/ref-storage-migration' (diff) | |
parent | __attribute__: add a few missing format attributes (diff) | |
download | git-cff3b034d5e75c84725823290afed62c93bc2317.tar.xz git-cff3b034d5e75c84725823290afed62c93bc2317.zip |
Merge branch 'jc/varargs-attributes'
Varargs functions that are unannotated as printf-like or execl-like
have been annotated as such.
* jc/varargs-attributes:
__attribute__: add a few missing format attributes
__attribute__: mark some functions with LAST_ARG_MUST_BE_NULL
__attribute__: remove redundant attribute declaration for git_die_config()
__attribute__: trace2_region_enter_printf() is like "printf"
Diffstat (limited to 'run-command.c')
-rw-r--r-- | run-command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run-command.c b/run-command.c index 31b20123d8..0c57df270c 100644 --- a/run-command.c +++ b/run-command.c @@ -1756,7 +1756,8 @@ void run_processes_parallel(const struct run_process_parallel_opts *opts) if (do_trace2) trace2_region_enter_printf(tr2_category, tr2_label, NULL, - "max:%d", opts->processes); + "max:%"PRIuMAX, + (uintmax_t)opts->processes); pp_init(&pp, opts, &pp_sig); while (1) { |