From 7b256cf63fd10776ff064829b74d3fa0a194378d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 6 Aug 2008 09:46:25 +0100 Subject: [PATCH] ioemu: fix a bug in serial_load Currently we are trying to read the same value twice in the serial_load function, this patch fixes that. Signed-off-by: Stefano Stabellini --- tools/ioemu/hw/serial.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/ioemu/hw/serial.c b/tools/ioemu/hw/serial.c index c6758315a2..30d9fbe620 100644 --- a/tools/ioemu/hw/serial.c +++ b/tools/ioemu/hw/serial.c @@ -728,7 +728,6 @@ static int serial_load(QEMUFile *f, void *opaque, int version_id) qemu_get_8s(f,&s->lsr); qemu_get_8s(f,&s->msr); qemu_get_8s(f,&s->scr); - qemu_get_8s(f,&s->fcr); if (version_id >= 2) qemu_get_8s(f,&fcr); -- 2.30.2