diff options
Diffstat (limited to 'cpukit/rtems/src/taskconstruct.c')
-rw-r--r-- | cpukit/rtems/src/taskconstruct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskconstruct.c b/cpukit/rtems/src/taskconstruct.c index 9b1fdec3ae..84e59552c6 100644 --- a/cpukit/rtems/src/taskconstruct.c +++ b/cpukit/rtems/src/taskconstruct.c @@ -180,7 +180,7 @@ rtems_status_code _RTEMS_tasks_Create( if ( is_global ) { the_global_object = _Objects_MP_Allocate_global_object(); - if ( _Objects_MP_Is_null_global_object( the_global_object ) ) { + if ( the_global_object == NULL ) { _RTEMS_tasks_Free( the_thread ); _Objects_Allocator_unlock(); return RTEMS_TOO_MANY; |