summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2022-08-16 12:03:17 -0500
committerJoel Sherrill <joel@rtems.org>2022-08-19 15:34:47 -0500
commitdc0dcccf419c8edcdcd673e019e9ebffbddc59b0 (patch)
tree86715f2a8cb80d18fbc15e580f1b16d3f631e0ac /testsuites
parentcpu.h: Fix gcc 12 warnings (diff)
downloadrtems-dc0dcccf419c8edcdcd673e019e9ebffbddc59b0.tar.bz2
dl09/dl-load.c: Fix gcc 12 warning
Changed format of size_t variable being printed. Updates #4662
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/dl09/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/dl09/dl-load.c b/testsuites/libtests/dl09/dl-load.c
index 1de7c8fa29..ce9708c3a3 100644
--- a/testsuites/libtests/dl09/dl-load.c
+++ b/testsuites/libtests/dl09/dl-load.c
@@ -171,7 +171,7 @@ static void dl_object_open (object_def* od, objects* o)
if (od->space != 0)
{
o->space = malloc (od->space);
- printf("space alloc: %s: %d: %p\n", od->name, od->space, o->space);
+ printf("space alloc: %s: %zd: %p\n", od->name, od->space, o->space);
rtems_test_assert (o->space != NULL);
}
dl_load_dump ();