From a8f4fd2872784cea12888a3e53d62b74d3e78608 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Aug 2017 14:29:55 +0200 Subject: smptests: Fix format specifier Update #3082. --- testsuites/smptests/smpschedaffinity04/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/smptests/smpschedaffinity04') diff --git a/testsuites/smptests/smpschedaffinity04/init.c b/testsuites/smptests/smpschedaffinity04/init.c index e4df282a54..c7a071f054 100644 --- a/testsuites/smptests/smpschedaffinity04/init.c +++ b/testsuites/smptests/smpschedaffinity04/init.c @@ -114,7 +114,7 @@ static void test(void) /* * Verify the Init task is running on the max core. */ - printf("Verify Init task is on cpu %ld\n",cpu_count-1); + printf("Verify Init task is on cpu %l" PRIu32 "\n",cpu_count-1); cpu = rtems_get_current_processor(); rtems_test_assert(cpu == (cpu_count-1)); -- cgit v1.2.3