From 6ab87973f42e470129a2cb684de1b4b33801dc8f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 3 May 2005 22:18:32 +0000 Subject: 2005-05-03 Joel Sherrill * rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of RTEMS_INVALID_ADDRESS on success path. --- cpukit/ChangeLog | 5 +++++ cpukit/rtems/src/regiongetfreeinfo.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6681d60afb..dfbcd02a66 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2005-05-03 Joel Sherrill + + * rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of + RTEMS_INVALID_ADDRESS on success path. + 2005-05-03 Joel Sherrill * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t 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 */ -- cgit v1.2.3