diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 11:02:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 11:02:00 +0000 |
commit | 2960c42fabc77838e74699060a2f1eb42df5a1a6 (patch) | |
tree | 9215030520417a88178eaba6f0bfb6750768590b | |
parent | Fixed group usage counting. See test "libtests/block02". (diff) | |
download | rtems-2960c42fabc77838e74699060a2f1eb42df5a1a6.tar.bz2 |
Use PRId32 to print INT's.
-rw-r--r-- | testsuites/itrontests/itronsem01/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/itrontests/itronsem01/init.c b/testsuites/itrontests/itronsem01/init.c index 3cbd4ba79b..9ee9d21c10 100644 --- a/testsuites/itrontests/itronsem01/init.c +++ b/testsuites/itrontests/itronsem01/init.c @@ -297,7 +297,7 @@ void ITRON_Init( void ) puts( "Init - ref_sem - semaphore 1 - E_OK" ); status = ref_sem( 1, &pk_rsem ); assert( status == E_OK ); - printf( "Init - semaphore 1 count = %d\n", pk_rsem.semcnt ); + printf( "Init - semaphore 1 count = %" PRId32 "\n", pk_rsem.semcnt ); printf( "Init - semaphore 1 waiting tasks = %d\n", pk_rsem.wtsk ); puts( "Init - preq_sem - semaphore 1 (count --> 2) - E_OK" ); @@ -307,7 +307,7 @@ void ITRON_Init( void ) puts( "Init - ref_sem - semaphore 1 - E_OK" ); status = ref_sem( 1, &pk_rsem ); assert( status == E_OK ); - printf( "Init - semaphore 1 count = %d\n", pk_rsem.semcnt ); + printf( "Init - semaphore 1 count = %" PRId32 "\n", pk_rsem.semcnt ); printf( "Init - semaphore 1 waiting tasks = %d\n", pk_rsem.wtsk ); |