diff options
Diffstat (limited to 'include/qemu/log.h')
-rw-r--r-- | include/qemu/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/log.h b/include/qemu/log.h index 195f665..f880e66 100644 --- a/include/qemu/log.h +++ b/include/qemu/log.h @@ -104,10 +104,10 @@ static inline void log_cpu_state_mask(int mask, CPUState *cpu, int flags) #ifdef NEED_CPU_H /* disas() and target_disas() to qemu_logfile: */ -static inline void log_target_disas(CPUArchState *env, target_ulong start, +static inline void log_target_disas(CPUState *cpu, target_ulong start, target_ulong len, int flags) { - target_disas(qemu_logfile, env, start, len, flags); + target_disas(qemu_logfile, cpu, start, len, flags); } static inline void log_disas(void *code, unsigned long size) |