summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-20 10:47:41 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-24 08:16:33 -0500
commit6c1aff6633d1b1e0038fc78b2bfe666b5eada3fc (patch)
tree81cae4cfacd92795cca54743d594f658eb2a1b2a
parent6849e5379afceb89436942073064fbc0cbfa54e9 (diff)
downloadrtems-6c1aff6633d1b1e0038fc78b2bfe666b5eada3fc.tar.bz2
sptests/sp33/init.c: Correct printf() warning
-rw-r--r--testsuites/sptests/sp33/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/sptests/sp33/init.c b/testsuites/sptests/sp33/init.c
index 828c374839..579cd65e11 100644
--- a/testsuites/sptests/sp33/init.c
+++ b/testsuites/sptests/sp33/init.c
@@ -44,11 +44,12 @@ rtems_task Waiter(
)
{
rtems_status_code status;
+ int waiter = (int) number;
- printf( "Waiter %" PRIdrtems_task_argument " waiting on barrier\n", number );
+ printf( "Waiter %d waiting on barrier\n", waiter );
status = rtems_barrier_wait( Barrier, RTEMS_NO_TIMEOUT );
- printf( "Waiter %" PRIdrtems_task_argument " back from barrier\n", number );
+ printf( "Waiter %d back from barrier\n", waiter );
if ( SuccessfulCase == TRUE ) {
directive_failed(status, "rtems_barrier_wait");