summary refs log tree commit diff stats
path: root/ui/console-vc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/console-vc.c')
-rw-r--r--ui/console-vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/console-vc.c b/ui/console-vc.c
index 899fa11c94..8393d532e7 100644
--- a/ui/console-vc.c
+++ b/ui/console-vc.c
@@ -287,7 +287,7 @@ static void kbd_send_chars(QemuTextConsole *s)
         const uint8_t *buf;
         uint32_t size;
 
-        buf = fifo8_pop_buf(&s->out_fifo, MIN(len, avail), &size);
+        buf = fifo8_pop_bufptr(&s->out_fifo, MIN(len, avail), &size);
         qemu_chr_be_write(s->chr, buf, size);
         len = qemu_chr_be_can_write(s->chr);
         avail -= size;