summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxclock/init.c
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2022-08-16 12:05:31 -0500
committerJoel Sherrill <joel@rtems.org>2022-08-19 15:34:47 -0500
commitf60f349d8629a2f0db0384c513cff1aad586ede0 (patch)
tree167ff271b65a96f4c72abbd33f9da2a465693f4c /testsuites/psxtests/psxclock/init.c
parentttest01/test-checks.c: Initialize variables (diff)
downloadrtems-f60f349d8629a2f0db0384c513cff1aad586ede0.tar.bz2
psxclock/init.c: Change print format for warning
Updates #4662
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxclock/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c
index 743cfa6d78..eb2f1d130c 100644
--- a/testsuites/psxtests/psxclock/init.c
+++ b/testsuites/psxtests/psxclock/init.c
@@ -115,7 +115,7 @@ static void test_clock_check( clock_context* ctx, const rtems_interval ticks_per
(((ctx->tspec.tv_sec * 1000000000LLU) + ctx->tspec.tv_nsec) / tick_period_nsec) + 1;
rtems_test_assert( ctx->result == 0 );
printf(
- "clock: %s: sec=%llu nsec=%li ticks=%u expected-ticks=%u\n",
+ "clock: %s: sec=%" PRIdtime_t" nsec=%li ticks=%u expected-ticks=%u\n",
ctx->name, ctx->tspec.tv_sec, ctx->tspec.tv_nsec, ctx->ticks, ticks);
rtems_test_assert( ctx->ticks == ticks );
}