libctf testsuite compilation failure

Alan Modra amodra@gmail.com
Wed May 22 22:42:36 GMT 2024


	* 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");

-- 
Alan Modra


More information about the Binutils mailing list