summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src/part.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/src/part.c')
-rw-r--r--c/src/exec/rtems/src/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/src/part.c b/c/src/exec/rtems/src/part.c
index a7e4308a13..3d21eed416 100644
--- a/c/src/exec/rtems/src/part.c
+++ b/c/src/exec/rtems/src/part.c
@@ -107,7 +107,7 @@ rtems_status_code rtems_partition_create(
}
if ( _Attributes_Is_global( attribute_set ) &&
- !( _Objects_MP_Open( &_Partition_Information, name,
+ !( _Objects_MP_Allocate_and_open( &_Partition_Information, name,
the_partition->Object.id, FALSE ) ) ) {
_Partition_Free( the_partition );
_Thread_Enable_dispatch();