git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6268 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-01-12 17:31:29 +00:00
parent 6ea5259547
commit 8f180a4308

View File

@ -287,7 +287,7 @@ static void slavio_serial_reset_chn(ChannelState *s)
int i;
s->reg = 0;
for (i = 0; i < SERIAL_SIZE; i++) {
for (i = 0; i < SERIAL_REGS; i++) {
s->rregs[i] = 0;
s->wregs[i] = 0;
}