summaryrefslogtreecommitdiffstats
path: root/t/helper
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-17 19:33:32 +0200
committerJunio C Hamano <gitster@pobox.com>2022-06-17 19:33:32 +0200
commitaa11b94ef87050af9e4e0aab64f1ab89636c5be4 (patch)
tree5f882bc76613b2cad0faa26cc30f74dc9279c573 /t/helper
parentMerge branch 'ab/credentials-in-url-more' (diff)
parentbug_fl(): correctly initialize trace2 va_list (diff)
downloadgit-aa11b94ef87050af9e4e0aab64f1ab89636c5be4.tar.xz
git-aa11b94ef87050af9e4e0aab64f1ab89636c5be4.zip
Merge branch 'jk/bug-fl-va-list-fix'
Fix buggy va_list usage in recent code. * jk/bug-fl-va-list-fix: bug_fl(): correctly initialize trace2 va_list
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-trace2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/helper/test-trace2.c b/t/helper/test-trace2.c
index 180c7f53f3..a714130ece 100644
--- a/t/helper/test-trace2.c
+++ b/t/helper/test-trace2.c
@@ -224,8 +224,8 @@ static int ut_009bug_BUG(int argc, const char **argv)
static int ut_010bug_BUG(int argc, const char **argv)
{
- bug("a bug message");
- BUG("a BUG message");
+ bug("a %s message", "bug");
+ BUG("a %s message", "BUG");
}
/*