提交 e592bdaa 编写于 作者: L lixin

memscantest: fix typo

上级 69c103ee
......@@ -140,7 +140,7 @@ uintptr_t handle_trap(uintptr_t cause, uintptr_t epc, uintptr_t regs[32])
if (cause != CAUSE_LOAD_ACCESS && cause != CAUSE_FETCH_ACCESS && cause != CAUSE_STORE_ACCESS)
error("unexpected exception type(actual exception)\n")
if (!trap_expected)
error("operation should not trigger an exception\n");
error("operation should not trigger an exception\n")
if (!(expect_excep == CAUSE_LOAD_ACCESS || expect_excep == CAUSE_FETCH_ACCESS || expect_excep == CAUSE_STORE_ACCESS))
error("unexpected exception type(expected exception)\n")
if (cause != expect_excep) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册