aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_uart.c')
-rw-r--r--hw/lm32_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lm32_uart.c b/hw/lm32_uart.c
index 09090e93b2..367854550c 100644
--- a/hw/lm32_uart.c
+++ b/hw/lm32_uart.c
@@ -169,7 +169,7 @@ static void uart_write(void *opaque, target_phys_addr_t addr, uint32_t value)
switch (addr) {
case R_RXTX:
if (s->chr) {
- qemu_chr_write(s->chr, &ch, 1);
+ qemu_chr_fe_write(s->chr, &ch, 1);
}
break;
case R_IER: