summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/can_wup.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/can_wup.c')
-rw-r--r--cpukit/itron/src/can_wup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/itron/src/can_wup.c b/cpukit/itron/src/can_wup.c
index 61ef0dc259..13c64a62f8 100644
--- a/cpukit/itron/src/can_wup.c
+++ b/cpukit/itron/src/can_wup.c
@@ -32,15 +32,15 @@ ER can_wup(
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:
/*
* XXX - FILL ME IN.
*/
- _ITRON_return_errorno( E_OK );
+ break;
}
- _ITRON_return_errorno( E_OBJ ); /* XXX - Should never get here */
+ _ITRON_return_errorno( E_OK );
}