]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
libctf testsuite compilation failure
authorAlan Modra <amodra@gmail.com>
Tue, 21 May 2024 23:16:17 +0000 (08:46 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 22 May 2024 22:41:12 +0000 (08:11 +0930)
* testsuite/libctf-regression/open-error-free.c (main): Correct
format length modifier.

libctf/testsuite/libctf-regression/open-error-free.c

index 8319a09d5f5e060f02943e5bd8254028d2f6f3ae..5e4874444e4bb90b721d8f2cd22934a5597a1271 100644 (file)
@@ -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");