summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadkill.c')
-rw-r--r--cpukit/posix/src/pthreadkill.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c
index c6624eb8be..be3678db14 100644
--- a/cpukit/posix/src/pthreadkill.c
+++ b/cpukit/posix/src/pthreadkill.c
@@ -1,7 +1,7 @@
/*
* 3.3.10 Send a Signal to a Thread, P1003.1c/D10, p. 43
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -47,8 +47,10 @@ int pthread_kill(
the_thread = _POSIX_Threads_Get( thread, &location );
switch ( location ) {
- case OBJECTS_ERROR:
+#if defined(RTEMS_MULTIPROCESSING)
case OBJECTS_REMOTE:
+#endif
+ case OBJECTS_ERROR:
rtems_set_errno_and_return_minus_one( ESRCH );
case OBJECTS_LOCAL:
/*