summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/sus_tsk.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/sus_tsk.c')
-rw-r--r--cpukit/itron/src/sus_tsk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/itron/src/sus_tsk.c b/cpukit/itron/src/sus_tsk.c
index f2ee948e0b..907b708843 100644
--- a/cpukit/itron/src/sus_tsk.c
+++ b/cpukit/itron/src/sus_tsk.c
@@ -36,7 +36,7 @@ ER sus_tsk(
switch ( location ) {
case OBJECTS_REMOTE:
case OBJECTS_ERROR:
- _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );
+ return _ITRON_Task_Clarify_get_id_error( tskid );
case OBJECTS_LOCAL:
@@ -44,10 +44,10 @@ ER sus_tsk(
_ITRON_return_errorno( E_OBJ );
_Thread_Suspend( the_thread );
- _ITRON_return_errorno( E_OK );
+ break;
}
- _ITRON_return_errorno( E_OBJ );
+ _ITRON_return_errorno( E_OK );
}