1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00
Fix typo in RTC_CALR_MK.
This commit is contained in:
Warner Losh 2006-07-14 22:06:01 +00:00
parent 92c23aea4a
commit fa543fe2fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160362

View File

@ -74,7 +74,7 @@
#define RTC_CALR_DAY_S 24
#define RTC_CALR_DAY(x) FROMBCD(((x) & RTC_CALR_DAY_M) >> RTC_CALR_DAY_S)
#define RTC_CALR_MK(yr, mon, day, dow) \
((TOBCD((yr) / 100 + 19) << RTC_CALR_CENTURY_S) | \
((TOBCD((yr) / 100 + 19) << RTC_CALR_CEN_S) | \
(TOBCD((yr) % 100) << RTC_CALR_YEAR_S) | \
(TOBCD(mon) << RTC_CALR_MON_S) | \
(TOBCD(dow) << RTC_CALR_DOW_S) | \