summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp50
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/sp50
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/sp50')
-rw-r--r--testsuites/sptests/sp50/init.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/sptests/sp50/init.c b/testsuites/sptests/sp50/init.c
index 161fe1fe4e..2eb5599dc0 100644
--- a/testsuites/sptests/sp50/init.c
+++ b/testsuites/sptests/sp50/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,17 +20,19 @@ volatile bool timerRan;
rtems_timer_service_routine Timer_Routine( rtems_id id, void *ignored )
{
- rtems_status_code sc;
+ rtems_status_code status;
Fired++;
timerRan = true;
- sc = rtems_timer_server_fire_after(
+ status = rtems_timer_server_fire_after(
id,
rtems_clock_get_ticks_per_second(),
Timer_Routine,
NULL
);
+ directive_failed( status, "fire after" );
+
}
rtems_task Init(