ioemu: fix a bug in serial_load
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 6 Aug 2008 08:46:25 +0000 (09:46 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 6 Aug 2008 08:46:25 +0000 (09:46 +0100)
commit7b256cf63fd10776ff064829b74d3fa0a194378d
tree049ba836f2f135cca8ea52a5cd14afcb5709cd74
parent1c6f32e9fe7fe1fef00995673c3eeb88eeded538
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 <stefano.stabellini@eu.citrix.com>
tools/ioemu/hw/serial.c