* sp29/init.c: Fixed return value evaluation.
	* sp59/init.c: Added status code assignment. Fixed typos.
	* sp59/init.c, sp59/sp59.scn: Added status code assignment. Fixed typos.
 	* sp63/init.c: Check return value of _Heap_Initialize().
This commit is contained in:
Joel Sherrill
2009-08-26 02:16:03 +00:00
parent bd039332dd
commit 39385ed563
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
2009-08-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp29/init.c: Fixed return value evaluation.
* sp59/init.c, sp59/sp59.scn: Added status code assignment. Fixed typos.
* sp63/init.c: Check return value of _Heap_Initialize().

View File

@@ -82,8 +82,8 @@ rtems_task Init (rtems_task_argument ignored)
puts( "This test only prints on errors." );
ticksPerSecond = rtems_clock_get_ticks_per_second();
if (sc != RTEMS_SUCCESSFUL) {
printf ("Can't get ticks per second: %s\n", rtems_status_text (sc));
if (ticksPerSecond <= 0) {
printf ("Invalid ticks per second: %lu\n", (unsigned long) ticksPerSecond);
exit (1);
}
sc = rtems_semaphore_create (rtems_build_name ('S', 'M', 'r', 'c'),