summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-08-27 14:11:24 -0500
committerJoel Sherrill <joel@rtems.org>2017-08-27 14:11:24 -0500
commit8b29f9b9e8be804cb7464dd7b3b748812fb680d7 (patch)
tree73fe1d990a39f5f6640d85fa60896f91b22d6995 /testsuites
parentspstkalloc02/init.c: Fix printf() format warnings (diff)
downloadrtems-8b29f9b9e8be804cb7464dd7b3b748812fb680d7.tar.bz2
sp25/task1.c: Fix printf() format warnings
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/sp25/task1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp25/task1.c b/testsuites/sptests/sp25/task1.c
index 230e8d481e..ae7e8b8d8e 100644
--- a/testsuites/sptests/sp25/task1.c
+++ b/testsuites/sptests/sp25/task1.c
@@ -187,7 +187,7 @@ rtems_task Task_1(
status = rtems_region_get_information(region_id, &region_info);
directive_failed(status, "rtems_region_get_information of RN01");
printf(
- "TA1 - got information - free = %" PRIu32 ", used = %" PRIu32 "\n",
+ "TA1 - got information - free = %" PRIuPTR ", used = %" PRIuPTR "\n",
region_info.Free.number,
region_info.Used.number
);
@@ -199,7 +199,7 @@ rtems_task Task_1(
status = rtems_region_get_free_information(region_id, &region_info);
directive_failed(status, "rtems_region_get_free_information of RN01");
printf(
- "TA1 - got free information - free = %" PRIu32 ", used = %" PRIu32 "\n",
+ "TA1 - got free information - free = %" PRIuPTR ", used = %" PRIuPTR "\n",
region_info.Free.number,
region_info.Used.number
);