fix: date cmd crashed because of the cringe kprintf(0, "[...]") from Camille (bozo)

This commit is contained in:
0x35c 2024-09-27 12:23:00 +02:00
parent ed11ec794a
commit ab702aabe7

View File

@ -13,7 +13,7 @@ void date_cmd(char *arg)
(void)arg;
struct rtc_date date = get_date();
kprintf(0, "%s. %d %s. %d %d:%d:%d\n", week_days[date.index_of_the_day],
kprintf("%s. %d %s. %d %d:%d:%d\n", week_days[date.index_of_the_day],
date.day, months[date.month], date.year, date.hour, date.minute,
date.second);
}