diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-10-31 20:11:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-10-31 20:11:41 +0000 |
commit | 5efc97876bda6c9fe5d3bd48e3fa3f9cd4867a48 (patch) | |
tree | 08bd56826eafeeb4aee72965992e5b9517e522a5 /cpukit/rtems/src/regiongetinfo.c | |
parent | 2002-10-31 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-5efc97876bda6c9fe5d3bd48e3fa3f9cd4867a48.tar.bz2 |
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c: Corrected return value check.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/regiongetinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/rtems/src/regiongetinfo.c b/cpukit/rtems/src/regiongetinfo.c index 2f7f21b72a..f2592dc9b4 100644 --- a/cpukit/rtems/src/regiongetinfo.c +++ b/cpukit/rtems/src/regiongetinfo.c @@ -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; } |