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 e4143c90c4..062bbf1589 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-10 Ralf Corsépius <ralf.corsepius@rtems.org> * libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__ 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; |