am-tests,intr: add panic message
This commit is contained in:
parent
4707aefcc5
commit
86c5532674
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ Context *simple_trap(Event ev, Context *ctx) {
|
||||||
case EVENT_YIELD:
|
case EVENT_YIELD:
|
||||||
putch('y'); break;
|
putch('y'); break;
|
||||||
default:
|
default:
|
||||||
break;
|
panic("Unhandled event"); break;
|
||||||
}
|
}
|
||||||
return ctx;
|
return ctx;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue