From: Alan Modra Date: Tue, 21 May 2024 23:16:17 +0000 (+0930) Subject: libctf testsuite compilation failure X-Git-Tag: gdb-15-branchpoint~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0;p=thirdparty%2Fbinutils-gdb.git libctf testsuite compilation failure * testsuite/libctf-regression/open-error-free.c (main): Correct format length modifier. --- diff --git a/libctf/testsuite/libctf-regression/open-error-free.c b/libctf/testsuite/libctf-regression/open-error-free.c index 8319a09d5f5..5e4874444e4 100644 --- a/libctf/testsuite/libctf-regression/open-error-free.c +++ b/libctf/testsuite/libctf-regression/open-error-free.c @@ -165,7 +165,7 @@ int main (void) fprintf (stderr, "Memory leak is present: %lli allocations (%lli allocations, %lli frees).\n", frozen_malloc_count - frozen_free_count, frozen_malloc_count, frozen_free_count); else if (frozen_malloc_count < frozen_free_count) - fprintf (stderr, "Possible double-free: %li allocations, %li frees.\n", + fprintf (stderr, "Possible double-free: %lli allocations, %lli frees.\n", frozen_malloc_count, frozen_free_count); printf ("All OK.\n");