mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Typo in last commit
This commit is contained in:
parent
4bec58cd70
commit
e39ced7f6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110372
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user