aboutsummaryrefslogtreecommitdiff
path: root/target/nios2/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/nios2/monitor.c')
-rw-r--r--target/nios2/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/monitor.c b/target/nios2/monitor.c
index 6646836df5..0152dec3fa 100644
--- a/target/nios2/monitor.c
+++ b/target/nios2/monitor.c
@@ -29,7 +29,7 @@
void hmp_info_tlb(Monitor *mon, const QDict *qdict)
{
- CPUArchState *env1 = mon_get_cpu_env();
+ CPUArchState *env1 = mon_get_cpu_env(mon);
dump_mmu(env1);
}