diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/src/regiongetfreeinfo.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6681d60afb..dfbcd02a66 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2005-05-03 Joel Sherrill <joel@OARcorp.com> + * rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of + RTEMS_INVALID_ADDRESS on success path. + +2005-05-03 Joel Sherrill <joel@OARcorp.com> + * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t instead of char for raw data buffer. diff --git a/cpukit/rtems/src/regiongetfreeinfo.c b/cpukit/rtems/src/regiongetfreeinfo.c index 988e7f071b..153f965d8c 100644 --- a/cpukit/rtems/src/regiongetfreeinfo.c +++ b/cpukit/rtems/src/regiongetfreeinfo.c @@ -75,7 +75,7 @@ rtems_status_code rtems_region_get_free_information( _Heap_Get_free_information( &the_region->Memory, &the_info->Free ); _RTEMS_Unlock_allocator(); - return RTEMS_INVALID_ADDRESS; + return RTEMS_SUCCESSFUL; } return RTEMS_INTERNAL_ERROR; /* unreached - only to remove warnings */ |