2005-05-03 Joel Sherrill <joel@OARcorp.com>

* rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of
	RTEMS_INVALID_ADDRESS on success path.
This commit is contained in:
Joel Sherrill
2005-05-03 22:18:32 +00:00
parent eb12bf41fb
commit 6ab87973f4
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
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

View File

@@ -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 */