Return error on enforce_task_rules for nanos6

This commit is contained in:
Rodrigo Arias 2023-02-20 14:40:18 +01:00 committed by Rodrigo Arias Mallo
parent e06651bbb6
commit 2f3dcbed1f

View File

@ -346,8 +346,7 @@ enforce_task_rules(struct emu *emu, char tr, struct task *next)
if (ss.type == VALUE_INT64 && ss.i != ST_TASK_BODY) {
err("wrong subsystem state on task begin");
//return -1;
return 0; // FIXME
return -1;
}
return 0;