[binutils-gdb] libctf testsuite compilation failure
Alan Modra
amodra@sourceware.org
Wed May 22 22:43:07 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0
commit 4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0
Author: Alan Modra <amodra@gmail.com>
Date: Wed May 22 08:46:17 2024 +0930
libctf testsuite compilation failure
* testsuite/libctf-regression/open-error-free.c (main): Correct
format length modifier.
Diff:
---
libctf/testsuite/libctf-regression/open-error-free.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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");
More information about the Binutils-cvs
mailing list