summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/partcreate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/partcreate.c')
-rw-r--r--cpukit/rtems/src/partcreate.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/rtems/src/partcreate.c b/cpukit/rtems/src/partcreate.c
index ffd398b3e1..f45cd4a219 100644
--- a/cpukit/rtems/src/partcreate.c
+++ b/cpukit/rtems/src/partcreate.c
@@ -97,7 +97,11 @@ rtems_status_code rtems_partition_create(
_Chain_Initialize( &the_partition->Memory, starting_address,
length / buffer_size, buffer_size );
- _Objects_Open( &_Partition_Information, &the_partition->Object, name );
+ _Objects_Open(
+ &_Partition_Information,
+ &the_partition->Object,
+ (Objects_Name) name
+ );
*id = the_partition->Object.id;
#if defined(RTEMS_MULTIPROCESSING)