aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-12 17:31:29 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-12 17:31:29 +0000
commit8f180a430850a2a701e890cf7d527856a7fdd5e5 (patch)
tree6bfbf00f0f470e71615c3c3419509c15e12fac9a
parent6ea52595474e16888d10eec310b0d156f8bbabc1 (diff)
Fix typo
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6268 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/slavio_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index 1028ed944c..71d6368a53 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -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;
}