aboutsummaryrefslogtreecommitdiff
path: root/pk/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'pk/console.c')
-rw-r--r--pk/console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pk/console.c b/pk/console.c
index 90742d1..475a93b 100644
--- a/pk/console.c
+++ b/pk/console.c
@@ -48,8 +48,7 @@ void dump_tf(trapframe_t* tf)
for(int j = 0; j < 4; j++)
printk("%s %lx%c", get_regname(i+j), tf->gpr[i+j], j < 3 ? ' ' : '\n');
}
- printk("pc %lx va %lx insn %x sr %lx\n", tf->epc, tf->badvaddr,
- (uint32_t)tf->insn, tf->status);
+ printk("pc %lx va/inst %lx sr %lx\n", tf->epc, tf->badvaddr, tf->status);
}
void do_panic(const char* s, ...)