summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-24 13:50:58 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-24 13:51:37 +0100
commit83ad1c564025124ddc7d298fc6ac56fc24994498 (patch)
treebb40d450abd3e5a885e08cb55b1093922bfeaa5d
parenttests: Use exponential backoff in locked_vprintf() (diff)
downloadrtems-83ad1c564025124ddc7d298fc6ac56fc24994498.tar.bz2
ada/sp04: Fix clock get
Update #2676.
-rw-r--r--testsuites/ada/sptests/sp04/sptest.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/ada/sptests/sp04/sptest.adb b/testsuites/ada/sptests/sp04/sptest.adb
index 01283d3fec..f3955fbb3a 100644
--- a/testsuites/ada/sptests/sp04/sptest.adb
+++ b/testsuites/ada/sptests/sp04/sptest.adb
@@ -197,7 +197,7 @@ package body SPTEST is
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "CLOCK_GET_SECONDS_SINCE_EPOCH" );
loop
- RTEMS.CLOCK.GET_SECONDS_SINCE_EPOCH( START_TIME, STATUS );
+ RTEMS.CLOCK.GET_SECONDS_SINCE_EPOCH( END_TIME, STATUS );
TEST_SUPPORT.DIRECTIVE_FAILED(STATUS, "CLOCK_GET_SECONDS_SINCE_EPOCH");
exit when END_TIME > (START_TIME + 2);