From 6f2c34532022bbb0d0c02aac64ff174e9655fc24 Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Wed, 1 May 2024 23:57:54 +0800 Subject: [PATCH] fix typo --- am/src/loongarch/nemu/cte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }