diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c index d793e34a6894..8688f8679267 100644 --- a/sys/arm64/arm64/trap.c +++ b/sys/arm64/arm64/trap.c @@ -334,7 +334,8 @@ data_abort(struct thread *td, struct trapframe *frame, uint64_t esr, return; } #endif - panic("vm_fault failed: %lx", frame->tf_elr); + panic("vm_fault failed: %lx error %d", + frame->tf_elr, error); } }