From abee2fde21ca6b687a9b4f8314d2352a70d2e30d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Apr 2007 19:42:34 +0000 Subject: [PATCH] 2007-04-12 Joel Sherrill * itron/src/rsm_tsk.c: Correct error returned. --- cpukit/ChangeLog | 4 ++++ cpukit/itron/src/rsm_tsk.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index c11c1f35bd..b382310474 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2007-04-12 Joel Sherrill + + * itron/src/rsm_tsk.c: Correct error returned. + 2007-04-09 Thomas Doerfler |Thomas.Doerfler@embedded-brains.de> * include/rtems/pci.h: Added device ID for MOTOROLA_HAWK diff --git a/cpukit/itron/src/rsm_tsk.c b/cpukit/itron/src/rsm_tsk.c index a41fbfe5e6..2d9cfa21f3 100644 --- a/cpukit/itron/src/rsm_tsk.c +++ b/cpukit/itron/src/rsm_tsk.c @@ -50,7 +50,7 @@ ER rsm_tsk( _ITRON_return_errorno( E_OBJ ); if ( ! _States_Is_suspended(the_thread->current_state) ) - _ITRON_return_errorno( E_OK ); + _ITRON_return_errorno( E_OBJ ); _Thread_Resume( the_thread, FALSE ); break;