Another printf format fix.

This commit is contained in:
Ralf Corsepius
2009-10-30 06:09:25 +00:00
parent fdaa86b6f7
commit 34ba5eb37f

View File

@@ -77,7 +77,7 @@ rtems_task TaskAB_entry(rtems_task_argument me)
while(1) { while(1) {
if (turn == me) { if (turn == me) {
printf("Task #%" PRIdrtems_task_argument "'s turn. Now setting turn to %d\n", me, 1 - me); printf("Task #%" PRIdrtems_task_argument "'s turn. Now setting turn to %" PRIdrtems_task_argument "\n", me, 1 - me);
turn = 1 - me; turn = 1 - me;
if ( ++iterations == 10 ) { if ( ++iterations == 10 ) {