2002-10-31 Joel Sherrill <joel@OARcorp.com>

* src/regiongetinfo.c: Corrected return value check.
This commit is contained in:
Joel Sherrill
2002-10-31 20:11:41 +00:00
parent 0647cc743f
commit 5efc97876b
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c: Corrected return value check.
2002-10-28 Joel Sherrill <joel@OARcorp.com>
* src/timerserver.c: Add useless return to avoid warning.

View File

@@ -62,7 +62,8 @@ rtems_status_code rtems_region_get_information(
case OBJECTS_LOCAL:
if ( _Heap_Get_information( &the_region->Memory, the_info ) ) {
if ( _Heap_Get_information( &the_region->Memory, the_info ) ==
HEAP_GET_INFORMATION_SUCCESSFUL ) {
_RTEMS_Unlock_allocator();
return RTEMS_SUCCESSFUL;
}