diff --git a/am/src/loongarch/nemu/cte.c b/am/src/loongarch/nemu/cte.c index ca82de9..3472245 100644 --- a/am/src/loongarch/nemu/cte.c +++ b/am/src/loongarch/nemu/cte.c @@ -8,7 +8,7 @@ Context* __am_irq_handle(Context *c) { if (user_handler) { Event ev = {0}; uintptr_t ecode = 0; - switch (ccode) { + switch (ecode) { default: ev.event = EVENT_ERROR; break; }