diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:18 -0700 |
| commit | ce359a4dcccba8093fc09750ddd24d4be999f8af (patch) | |
| tree | 3b55c9308641c981e244bc49281e4a90d0797a47 /run-command.c | |
| parent | b2a62b6a42f5163cce05f676584471a89ca312d1 (diff) | |
| parent | 99c7de732e1ea71804d7643dd121fdde4c181f76 (diff) | |
| download | git-ce359a4dcccba8093fc09750ddd24d4be999f8af.tar.gz | |
Merge branch 'jc/varargs-attributes' into maint-2.45
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 1b821042b4..ec2c12e98b 100644 --- a/run-command.c +++ b/run-command.c @@ -1753,7 +1753,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) { |
