diff --git a/arch/risc-v/src/common/riscv_exception.c b/arch/risc-v/src/common/riscv_exception.c index a91967e96a..cefa6c03f9 100644 --- a/arch/risc-v/src/common/riscv_exception.c +++ b/arch/risc-v/src/common/riscv_exception.c @@ -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