[PATCH v1 11/12] psxclock/init.c: Change print format for warning

Ryan Long ryan.long at oarcorp.com
Tue Aug 16 20:11:59 UTC 2022


Updates #4662
---
 testsuites/psxtests/psxclock/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 );
 }
-- 
2.11.0



More information about the devel mailing list