ref: 1d2ec12245817e06991948b1c2ff972dd84bc0b1
parent: 0b360327c6f4f4c79d8872c4b2dc486aba378f6d
author: Michael Forney <mforney@mforney.org>
date: Sat Oct 2 20:11:34 EDT 2021
libc: Fix name in invocation of FEBDAYS macro
--- a/src/libc/time/mktime.c
+++ b/src/libc/time/mktime.c
@@ -68,7 +68,7 @@
if (year == MINYEAR)
return 0;
year--;
- _daysmon[FEB] = _febdays(year);
+ _daysmon[FEB] = FEBDAYS(year);
mon = DEC+1;
}
day += _daysmon[mon-1];
@@ -80,7 +80,7 @@
if (year == _MAXYEAR)
return 0;
year++;
- _daysmon[FEB] = _febdays(year);
+ _daysmon[FEB] = FEBDAYS(year);
mon = JAN-1;
}
}