summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/shared/main_dump_all_cpus.c
diff options
context:
space:
mode:
Diffstat (limited to 'schedsim/shell/shared/main_dump_all_cpus.c')
-rw-r--r--schedsim/shell/shared/main_dump_all_cpus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/schedsim/shell/shared/main_dump_all_cpus.c b/schedsim/shell/shared/main_dump_all_cpus.c
index 2e1f108..4807e64 100644
--- a/schedsim/shell/shared/main_dump_all_cpus.c
+++ b/schedsim/shell/shared/main_dump_all_cpus.c
@@ -81,7 +81,7 @@ int main_dump_all_cpus(int argc, char **argv)
"*** ERROR in scenario -- unknown task %s\n",
argv[cpu + 1]
);
- exit( 1 );
+ return 1;
}
if ( e->Object.id != id ) {
@@ -97,7 +97,7 @@ int main_dump_all_cpus(int argc, char **argv)
}
if ( mismatch ) {
printf( "Exiting test scenario due to scheduling failure\n" );
- exit( 1 );
+ return 1;
}
return 0;