diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-08-10 14:29:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-08-22 14:18:58 +0200 |
commit | a8f4fd2872784cea12888a3e53d62b74d3e78608 (patch) | |
tree | 62843631c17165e0c428bbffc16845443519cef1 /testsuites | |
parent | heap: Fix integer types (diff) | |
download | rtems-a8f4fd2872784cea12888a3e53d62b74d3e78608.tar.bz2 |
smptests: Fix format specifier
Update #3082.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/smptests/smpschedaffinity04/init.c | 2 | ||||
-rw-r--r-- | testsuites/smptests/smpschedaffinity05/init.c | 4 |
2 files changed, 3 insertions, 3 deletions
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)); diff --git a/testsuites/smptests/smpschedaffinity05/init.c b/testsuites/smptests/smpschedaffinity05/init.c index b89a6e29d8..1d69592879 100644 --- a/testsuites/smptests/smpschedaffinity05/init.c +++ b/testsuites/smptests/smpschedaffinity05/init.c @@ -176,7 +176,7 @@ static void test(void) rtems_test_assert(sc == RTEMS_SUCCESSFUL); printf( - "Start TA%d at priority %" PRIu32 " on cpu %d\n", + "Start TA%d at priority %" PRIuPTR " on cpu %d\n", i, task_data[i].priority, task_data[i].expected_cpu @@ -192,7 +192,7 @@ static void test(void) i = TASK_COUNT - 1; task_data[ i ].priority = 4; - printf("Set TA%d priority %" PRIu32 "\n", i,task_data[i].priority ); + printf("Set TA%d priority %" PRIuPTR "\n", i,task_data[i].priority ); sc = rtems_task_set_priority( task_data[ i ].id, task_data[ i ].priority, |