summaryrefslogtreecommitdiff
path: root/target-sparc/int32_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/int32_helper.c')
-rw-r--r--target-sparc/int32_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/int32_helper.c b/target-sparc/int32_helper.c
index f350a903e0..7c380ba2a1 100644
--- a/target-sparc/int32_helper.c
+++ b/target-sparc/int32_helper.c
@@ -109,7 +109,7 @@ void sparc_cpu_do_interrupt(CPUState *cs)
env->def->features & CPU_FEATURE_TA0_SHUTDOWN) {
qemu_system_shutdown_request();
} else {
- cpu_abort(env, "Trap 0x%02x while interrupts disabled, Error state",
+ cpu_abort(cs, "Trap 0x%02x while interrupts disabled, Error state",
cs->exception_index);
}
return;