diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 14:07:51 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 14:07:51 +0000 |
commit | dfd856aa43db5817f2336c21308644348a69c9ad (patch) | |
tree | 280241693f7508560760a0333d7a0f3ed2b1d442 /testsuites/sptests/sp34 | |
parent | 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-dfd856aa43db5817f2336c21308644348a69c9ad.tar.bz2 |
Use PRIdrtems_task_priority to print rtems_task_priority's.
Diffstat (limited to 'testsuites/sptests/sp34')
-rw-r--r-- | testsuites/sptests/sp34/changepri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c index 5e10ebc84b..02c0fcec78 100644 --- a/testsuites/sptests/sp34/changepri.c +++ b/testsuites/sptests/sp34/changepri.c @@ -76,7 +76,7 @@ rtems_task BlockingTasks(rtems_task_argument arg) status = rtems_task_set_priority(RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &opri); directive_failed( status, "rtems_task_set_priority" ); - printf("semaphore_obtain -- BlockingTask %d @ pri=%d) blocks\n", arg, opri); + printf("semaphore_obtain -- BlockingTask %d @ pri=%" PRIdrtems_task_priority ") blocks\n", arg, opri); status = rtems_semaphore_obtain(Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); directive_failed( status, "rtems_semaphore_obtain" ); @@ -84,7 +84,7 @@ rtems_task BlockingTasks(rtems_task_argument arg) status = rtems_task_set_priority(RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &npri); directive_failed( status, "rtems_task_set_priority" ); - printf("semaphore_obtain -- BlockingTask %d @ pri=%d) returns\n", arg, npri); + printf("semaphore_obtain -- BlockingTask %d @ pri=%" PRIdrtems_task_priority ") returns\n", arg, npri); (void) rtems_task_delete( RTEMS_SELF ); } |