summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-03 22:18:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-03 22:18:32 +0000
commit6ab87973f42e470129a2cb684de1b4b33801dc8f (patch)
tree7f982182bb3c0d35bd47df00c6e4b67eddce105e
parent2005-05-03 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-6ab87973f42e470129a2cb684de1b4b33801dc8f.tar.bz2
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of RTEMS_INVALID_ADDRESS on success path.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/rtems/src/regiongetfreeinfo.c2
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 */