diff options
Diffstat (limited to 'cpukit/rtems/src/partcreate.c')
-rw-r--r-- | cpukit/rtems/src/partcreate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/rtems/src/partcreate.c b/cpukit/rtems/src/partcreate.c index 205a31620e..012a416a1a 100644 --- a/cpukit/rtems/src/partcreate.c +++ b/cpukit/rtems/src/partcreate.c @@ -138,13 +138,12 @@ rtems_status_code rtems_partition_create( attribute_set ); - _Objects_Open( + *id = _Objects_Open_u32( &_Partition_Information, &the_partition->Object, - (Objects_Name) name + name ); - *id = the_partition->Object.id; #if defined(RTEMS_MULTIPROCESSING) if ( _Attributes_Is_global( attribute_set ) ) _Partition_MP_Send_process_packet( |