Typo in last commit

This commit is contained in:
phk 2003-02-05 09:35:02 +00:00
parent db6a9c4149
commit cf797c0ff3
3 changed files with 3 additions and 3 deletions

View File

@ -1248,7 +1248,7 @@ resettodr()
rtc_outb(bin2bcd(tm%24)); tm /= 24; /* Write back Hours */
/* We have now the days since 01-01-1970 in tm */
wd = (tm + 4) % 7 + 1); /* Write back Weekday */
wd = (tm + 4) % 7 + 1; /* Write back Weekday */
for (y = 1970, m = DAYSPERYEAR + LEAPYEAR(y);
tm >= m;
y++, m = DAYSPERYEAR + LEAPYEAR(y))

View File

@ -1248,7 +1248,7 @@ resettodr()
rtc_outb(bin2bcd(tm%24)); tm /= 24; /* Write back Hours */
/* We have now the days since 01-01-1970 in tm */
wd = (tm + 4) % 7 + 1); /* Write back Weekday */
wd = (tm + 4) % 7 + 1; /* Write back Weekday */
for (y = 1970, m = DAYSPERYEAR + LEAPYEAR(y);
tm >= m;
y++, m = DAYSPERYEAR + LEAPYEAR(y))

View File

@ -1248,7 +1248,7 @@ resettodr()
rtc_outb(bin2bcd(tm%24)); tm /= 24; /* Write back Hours */
/* We have now the days since 01-01-1970 in tm */
wd = (tm + 4) % 7 + 1); /* Write back Weekday */
wd = (tm + 4) % 7 + 1; /* Write back Weekday */
for (y = 1970, m = DAYSPERYEAR + LEAPYEAR(y);
tm >= m;
y++, m = DAYSPERYEAR + LEAPYEAR(y))