fix: date cmd crashed because of the cringe kprintf(0, "[...]") from Camille (bozo)
This commit is contained in:
parent
ed11ec794a
commit
ab702aabe7
@ -13,7 +13,7 @@ void date_cmd(char *arg)
|
|||||||
(void)arg;
|
(void)arg;
|
||||||
struct rtc_date date = get_date();
|
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.day, months[date.month], date.year, date.hour, date.minute,
|
||||||
date.second);
|
date.second);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user