summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spsimplesched02
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:45:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:45:57 +0000
commitc0d7e23ce943acd34f20fca96540769ab1927ec9 (patch)
treeb148b73f506d1bdb7b007fe71dc1903e6861631f /testsuites/sptests/spsimplesched02
parent2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-c0d7e23ce943acd34f20fca96540769ab1927ec9.tar.bz2
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen12.c, sp09/sp09.scn, sp21/Makefile.am, sp35/priinv.c, sp39/init.c, sp50/init.c, sp57/init.c, sp72/init.c, sp73/init.c, spintrcritical01/init.c, spprivenv01/init.c, spsimplesched01/init.c, spsimplesched02/init.c: Remove warnings.
Diffstat (limited to 'testsuites/sptests/spsimplesched02')
-rw-r--r--testsuites/sptests/spsimplesched02/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/spsimplesched02/init.c b/testsuites/sptests/spsimplesched02/init.c
index 381d4ca229..c6f3fbb0bd 100644
--- a/testsuites/sptests/spsimplesched02/init.c
+++ b/testsuites/sptests/spsimplesched02/init.c
@@ -28,14 +28,14 @@ rtems_task Test_task(
)
{
rtems_id tid;
- uint32_t task_index;
rtems_status_code status;
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
- task_index = task_number( tid );
+ directive_failed( status, "wake after" );
for ( ; ; ) {
- rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
+ status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
+ directive_failed( status, "yield" );
}
}