aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/m68k/monitor.c')
-rw-r--r--target/m68k/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/m68k/monitor.c b/target/m68k/monitor.c
index 2055fe8a00..2bdf6acae0 100644
--- a/target/m68k/monitor.c
+++ b/target/m68k/monitor.c
@@ -12,7 +12,7 @@
void hmp_info_tlb(Monitor *mon, const QDict *qdict)
{
- CPUArchState *env1 = mon_get_cpu_env();
+ CPUArchState *env1 = mon_get_cpu_env(mon);
if (!env1) {
monitor_printf(mon, "No CPU available\n");