forked from Imagelibrary/rtems
Use PRIdrtems_task_argument to print rtems_task_argument's.
This commit is contained in:
@@ -39,10 +39,10 @@ rtems_task Waiter(
|
||||
{
|
||||
rtems_status_code status;
|
||||
|
||||
printf( "Waiter %d waiting on barrier\n", number );
|
||||
printf( "Waiter %" PRIdrtems_task_argument " waiting on barrier\n", number );
|
||||
status = rtems_barrier_wait( Barrier, RTEMS_NO_TIMEOUT );
|
||||
|
||||
printf( "Waiter %d back from barrier\n", number );
|
||||
printf( "Waiter %" PRIdrtems_task_argument " back from barrier\n", number );
|
||||
|
||||
if ( SuccessfulCase == TRUE ) {
|
||||
directive_failed(status, "rtems_barrier_wait");
|
||||
|
||||
Reference in New Issue
Block a user