aboutsummaryrefslogtreecommitdiff
path: root/target/sh4/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/sh4/monitor.c')
-rw-r--r--target/sh4/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sh4/monitor.c b/target/sh4/monitor.c
index 918a5ccfc6..2da6a5426e 100644
--- a/target/sh4/monitor.c
+++ b/target/sh4/monitor.c
@@ -41,7 +41,7 @@ static void print_tlb(Monitor *mon, int idx, tlb_t *tlb)
void hmp_info_tlb(Monitor *mon, const QDict *qdict)
{
- CPUArchState *env = mon_get_cpu_env();
+ CPUArchState *env = mon_get_cpu_env(mon);
int i;
if (!env) {