forked from Imagelibrary/rtems
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c: Corrected return value check.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user