riscv_exception.c: Add missing comma in exception reasons array

This commit is contained in:
Huang Qi
2024-06-28 22:24:19 +08:00
committed by Alan Carvalho de Assis
parent 28eaa08cbc
commit c66b0866e8
+1 -1
View File
@@ -75,7 +75,7 @@ static const char *g_reasons_str[RISCV_MAX_EXCEPTION + 1] =
"Software check",
#endif
#if RISCV_MAX_EXCEPTION > 18
"Hardware error"
"Hardware error",
#endif
#ifdef RISCV_CUSTOM_EXCEPTION_REASONS
RISCV_CUSTOM_EXCEPTION_REASONS