Use PRIdrtems_task_priority to print rtems_task_priority's.

This commit is contained in:
Ralf Corsepius
2009-10-26 14:07:51 +00:00
parent 899fb9042b
commit dfd856aa43
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ rtems_task Init(
priority = RTEMS_MAXIMUM_PRIORITY / 4;
priority = (priority * 3) + (priority / 2);
printf( "Init - blocking task priority will be %d\n", priority );
printf( "Init - blocking task priority will be %" PRIdrtems_task_priority "\n", priority );
puts( "Init - rtems_task_create - delay task - OK" );
status = rtems_task_create(