aboutsummaryrefslogtreecommitdiff
path: root/target-cris/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-cris/cpu.c')
-rw-r--r--target-cris/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/cpu.c b/target-cris/cpu.c
index 6a3bdf00f8..f6c4f3f869 100644
--- a/target-cris/cpu.c
+++ b/target-cris/cpu.c
@@ -36,7 +36,7 @@ static void cris_cpu_reset(CPUState *s)
if (qemu_loglevel_mask(CPU_LOG_RESET)) {
qemu_log("CPU Reset (CPU %d)\n", s->cpu_index);
- log_cpu_state(env, 0);
+ log_cpu_state(s, 0);
}
ccc->parent_reset(s);