diff options
Diffstat (limited to 'cpukit/posix/src/mqueuenotify.c')
-rw-r--r-- | cpukit/posix/src/mqueuenotify.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpukit/posix/src/mqueuenotify.c b/cpukit/posix/src/mqueuenotify.c index fa36bcd003..15ae9efb1f 100644 --- a/cpukit/posix/src/mqueuenotify.c +++ b/cpukit/posix/src/mqueuenotify.c @@ -70,14 +70,11 @@ int mq_notify( the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location ); switch ( location ) { - case OBJECTS_ERROR: - rtems_set_errno_and_return_minus_one( EBADF ); #if defined(RTEMS_MULTIPROCESSING) case OBJECTS_REMOTE: - _Thread_Dispatch(); - return POSIX_MP_NOT_IMPLEMENTED(); - rtems_set_errno_and_return_minus_one( EINVAL ); #endif + case OBJECTS_ERROR: + rtems_set_errno_and_return_minus_one( EBADF ); case OBJECTS_LOCAL: the_mq = the_mq_fd->Queue; |