aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-lookup/struct-iteration.c
diff options
context:
space:
mode:
authorA. Wilcox <awilfox@adelielinux.org>2024-06-11 21:40:00 +0000
committerAlan Modra <amodra@gmail.com>2024-06-12 13:16:27 +0930
commit7065d0a33f732b7f0527f83ec0a352634b2d1ace (patch)
tree87a104fa3d326f522b376138a212c6f72e3bfed9 /libctf/testsuite/libctf-lookup/struct-iteration.c
parentb7641ae1afaa39e31e70114f0ee9a295820709aa (diff)
downloadbinutils-7065d0a33f732b7f0527f83ec0a352634b2d1ace.zip
binutils-7065d0a33f732b7f0527f83ec0a352634b2d1ace.tar.gz
binutils-7065d0a33f732b7f0527f83ec0a352634b2d1ace.tar.bz2
PR 31882 libctf: test suite incorrect format specifiers
Diffstat (limited to 'libctf/testsuite/libctf-lookup/struct-iteration.c')
-rw-r--r--libctf/testsuite/libctf-lookup/struct-iteration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/testsuite/libctf-lookup/struct-iteration.c b/libctf/testsuite/libctf-lookup/struct-iteration.c
index 005aba1..b240864 100644
--- a/libctf/testsuite/libctf-lookup/struct-iteration.c
+++ b/libctf/testsuite/libctf-lookup/struct-iteration.c
@@ -53,7 +53,7 @@ main (int argc, char *argv[])
{
char *type_name = ctf_type_aname (fp, membtype);
- printf ("next test: %s, offset %lx, has type %lx/%s\n",
+ printf ("next test: %s, offset %zx, has type %lx/%s\n",
name, offset, membtype, type_name);
free (type_name);
}