__attribute__: trace2_region_enter_printf() is like "printf"
commit89e78c7cdad1ac70d16c0ceb79b3ff95dfadd2bb
authorJunio C Hamano <gitster@pobox.com>
Sat, 8 Jun 2024 18:37:44 +0000 (8 11:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2024 16:16:19 +0000 (10 09:16 -0700)
treee82de69b4b5359104d15d1937c7bc7f7f4bb90a8
parent786a3e4b8d754d2b14b1208b98eeb0a554ef19a8
__attribute__: trace2_region_enter_printf() is like "printf"

The last part of the parameter list the function takes is like
parameters to printf.  Mark it as such.

An existing call that formats a value of type size_t using "%d" was
found by the compiler with the help with this annotation; fix it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c
trace2.h