commit 1d2ec12245817e06991948b1c2ff972dd84bc0b1 parent 0b360327c6f4f4c79d8872c4b2dc486aba378f6d Author: Michael Forney <mforney@mforney.org> Date: Sun, 3 Oct 2021 00:11:34 -0700 libc: Fix name in invocation of FEBDAYS macro Diffstat:
| M | src/libc/time/mktime.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libc/time/mktime.c b/src/libc/time/mktime.c @@ -68,7 +68,7 @@ normalize(struct tm *tm) 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 @@ normalize(struct tm *tm) if (year == _MAXYEAR) return 0; year++; - _daysmon[FEB] = _febdays(year); + _daysmon[FEB] = FEBDAYS(year); mon = JAN-1; } }