summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/regiongetfreeinfo.c2
1 files changed, 1 insertions, 1 deletions
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 */