[PATCH 3/6] sp59: Fix typos

Joel Sherrill joel.sherrill at oarcorp.com
Tue Jul 8 20:52:02 UTC 2014


---
 testsuites/sptests/sp59/init.c   |    4 ++--
 testsuites/sptests/sp59/sp59.scn |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuites/sptests/sp59/init.c b/testsuites/sptests/sp59/init.c
index 2e68b9f..4120761 100644
--- a/testsuites/sptests/sp59/init.c
+++ b/testsuites/sptests/sp59/init.c
@@ -94,7 +94,7 @@ rtems_task Init(
   rtems_region_get_segment(
     Region,
     ALLOC_SIZE,
-    RTEMS_PRIORITY,
+    RTEMS_DEFAULT_OPTIONS,
     RTEMS_NO_TIMEOUT,
     &address_1
   );
@@ -104,7 +104,7 @@ rtems_task Init(
   status = rtems_task_wake_after( RTEMS_MILLISECONDS_TO_TICKS(1000) );
   directive_failed( status, "rtems_task_wake_after" );
 
-  puts( "Init - rtems_region_get_segment - return segment" );
+  puts( "Init - rtems_region_return_segment - return segment" );
   status = rtems_region_return_segment( Region, address_1 );
   directive_failed( status, "rtems_region_return_segment" );
 
diff --git a/testsuites/sptests/sp59/sp59.scn b/testsuites/sptests/sp59/sp59.scn
index 3c539db..2ec32d7 100644
--- a/testsuites/sptests/sp59/sp59.scn
+++ b/testsuites/sptests/sp59/sp59.scn
@@ -6,7 +6,7 @@ Init - rtems_region_create - OK
 Init - rtems_region_get_segment - get segment to consume memory
 Init - rtems_task_wake_after - let other task block - OK
 Blocking_task - wait for memory
-Init - rtems_region_get_segment - return segment
+Init - rtems_region_return_segment - return segment
 Init - rtems_task_wake_after - let other task run again - OK
 Blocking_task - Got memory segment after freed
 Blocking_task - delete self
-- 
1.7.1




More information about the devel mailing list