Use PRIxrtems_id to print rtems_ids.

This commit is contained in:
Ralf Corsepius
2009-10-26 11:29:24 +00:00
parent e71c81b3da
commit fde1456d5d
19 changed files with 36 additions and 36 deletions

View File

@@ -69,12 +69,12 @@ rtems_task Init(
puts( "INIT - rtems_timer_create - creating timer 1" );
status = rtems_timer_create( Timer_name[ 1 ], &Timer_id[ 1 ] );
directive_failed( status, "rtems_timer_create" );
printf( "INIT - timer 1 has id (0x%x)\n", Timer_id[ 1 ] );
printf( "INIT - timer 1 has id (0x%" PRIxrtems_id ")\n", Timer_id[ 1 ] );
puts( "INIT - rtems_timer_create - creating timer 2" );
status = rtems_timer_create( Timer_name[ 2 ], &Timer_id[ 2 ] );
directive_failed( status, "rtems_timer_create" );
printf( "INIT - timer 2 has id (0x%x)\n", Timer_id[ 2 ] );
printf( "INIT - timer 2 has id (0x%" PRIxrtems_id ")\n", Timer_id[ 2 ] );
/*
* Schedule malloc TSR for 1 second from now