aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/m68k-semi.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-m68k/m68k-semi.c')
-rw-r--r--target-m68k/m68k-semi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/m68k-semi.c b/target-m68k/m68k-semi.c
index 2dea3cac90..9dffe8de60 100644
--- a/target-m68k/m68k-semi.c
+++ b/target-m68k/m68k-semi.c
@@ -461,7 +461,7 @@ void do_m68k_semihosting(CPUM68KState *env, int nr)
#endif
return;
default:
- cpu_abort(env, "Unsupported semihosting syscall %d\n", nr);
+ cpu_abort(CPU(m68k_env_get_cpu(env)), "Unsupported semihosting syscall %d\n", nr);
result = 0;
}
failed: