[rtems commit] ada/sp04: Fix clock get

Sebastian Huber sebh at rtems.org
Fri Nov 24 12:51:55 UTC 2017


Module:    rtems
Branch:    master
Commit:    83ad1c564025124ddc7d298fc6ac56fc24994498
Changeset: http://git.rtems.org/rtems/commit/?id=83ad1c564025124ddc7d298fc6ac56fc24994498

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 24 13:50:58 2017 +0100

ada/sp04: Fix clock get

Update #2676.

---

 testsuites/ada/sptests/sp04/sptest.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/ada/sptests/sp04/sptest.adb b/testsuites/ada/sptests/sp04/sptest.adb
index 01283d3..f3955fb 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);



More information about the vc mailing list