diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-26 13:19:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-26 13:23:10 +0200 |
commit | 0f1fa19882f9a6436eedf96987de079182a0037a (patch) | |
tree | 84658b678e43ba3abed8e64597d54fd3b31a12c0 /testsuites/smptests | |
parent | 1510ce4959af37582dc64941e4ad101b808de0c6 (diff) |
smptests: Fix format warnings
Diffstat (limited to 'testsuites/smptests')
-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 2a504f92c0..8b62ae0edc 100644 --- a/testsuites/smptests/smpschedaffinity04/init.c +++ b/testsuites/smptests/smpschedaffinity04/init.c @@ -116,7 +116,7 @@ static void test(void) /* * Verify the Init task is running on the max core. */ - printf("Verify Init task is on cpu %l" PRIu32 "\n",cpu_count-1); + printf("Verify Init task is on cpu %" 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 d2c897a442..7de8763442 100644 --- a/testsuites/smptests/smpschedaffinity05/init.c +++ b/testsuites/smptests/smpschedaffinity05/init.c @@ -178,7 +178,7 @@ static void test(void) rtems_test_assert(sc == RTEMS_SUCCESSFUL); printf( - "Start TA%d at priority %" PRIuPTR " on cpu %d\n", + "Start TA%d at priority %" PRIu32 " on cpu %d\n", i, task_data[i].priority, task_data[i].expected_cpu @@ -194,7 +194,7 @@ static void test(void) i = TASK_COUNT - 1; task_data[ i ].priority = 4; - printf("Set TA%d priority %" PRIuPTR "\n", i,task_data[i].priority ); + printf("Set TA%d priority %" PRIu32 "\n", i,task_data[i].priority ); sc = rtems_task_set_priority( task_data[ i ].id, task_data[ i ].priority, |