libctf testsuite compilation failure

Message ID Zk503O8DtyWBJJgj@squeak.grove.modra.org
State New
Headers
Series libctf testsuite compilation failure |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 warning Patch is already merged

Commit Message

Alan Modra May 22, 2024, 10:42 p.m. UTC
  * testsuite/libctf-regression/open-error-free.c (main): Correct
	format length modifier.
  

Patch

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