summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/dmp/vortex86ex/southbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/dmp/vortex86ex/southbridge.c b/src/southbridge/dmp/vortex86ex/southbridge.c
index b9432f0260..a2b1246c71 100644
--- a/src/southbridge/dmp/vortex86ex/southbridge.c
+++ b/src/southbridge/dmp/vortex86ex/southbridge.c
@@ -494,7 +494,7 @@ static void fix_cmos_rtc_time(void)
/* Convert RTC from BCD format to binary. */
u8 bin_rtc[7];
int i;
- for (i = 0; i < 8; i++) {
+ for (i = 0; i < 7; i++) {
bin_rtc[i] = bcd2dec(rtc[i]);
}