diff options
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/itron/src/rsm_tsk.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <joel@OARcorp.com> + + * 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; |