aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-05-22 08:46:17 +0930
committerAlan Modra <amodra@gmail.com>2024-05-23 08:11:12 +0930
commit4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0 (patch)
tree65c210351b0446e26692f9d96570b8654bf7ae9f /libctf
parentb013bd16630fb243d6fa0ee5d4c4eae77f6e5176 (diff)
downloadgdb-4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0.zip
gdb-4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0.tar.gz
gdb-4ce8b69ddd48b3af6dd82b858c46d214ad1a7ec0.tar.bz2
libctf testsuite compilation failure
* testsuite/libctf-regression/open-error-free.c (main): Correct format length modifier.
Diffstat (limited to 'libctf')
-rw-r--r--libctf/testsuite/libctf-regression/open-error-free.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/testsuite/libctf-regression/open-error-free.c b/libctf/testsuite/libctf-regression/open-error-free.c
index 8319a09..5e48744 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");