diff options
Diffstat (limited to 'cpukit/posix/src/cancel.c')
-rw-r--r-- | cpukit/posix/src/cancel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c index 0ec720fa2e..8f619a5750 100644 --- a/cpukit/posix/src/cancel.c +++ b/cpukit/posix/src/cancel.c @@ -40,12 +40,11 @@ int pthread_cancel( the_thread = _POSIX_Threads_Get( thread, &location ); switch ( location ) { - case OBJECTS_ERROR: - return EINVAL; #if defined(RTEMS_MULTIPROCESSING) case OBJECTS_REMOTE: - return POSIX_MP_NOT_IMPLEMENTED(); #endif + case OBJECTS_ERROR: + return EINVAL; case OBJECTS_LOCAL: thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ]; |