aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/xtensa/monitor.c')
-rw-r--r--target/xtensa/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/xtensa/monitor.c b/target/xtensa/monitor.c
index 608173c238..fbf60d5553 100644
--- a/target/xtensa/monitor.c
+++ b/target/xtensa/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);
if (!env1) {
monitor_printf(mon, "No CPU available\n");