time: Show the time with two digits..
This commit is contained in:
parent
93b625bb65
commit
3b4e2e5e27
|
@ -134,7 +134,7 @@ static int dump_log(const uint8_t *data, const size_t len)
|
|||
return -2;
|
||||
}
|
||||
|
||||
printf("%d:%d:%d %-20s: ",
|
||||
printf("%.2d:%.2d:%.2d %-20s: ",
|
||||
tm->tm_hour, tm->tm_min, tm->tm_sec,
|
||||
file);
|
||||
printf(log, msg->params[0], msg->params[1], msg->params[2]);
|
||||
|
|
Loading…
Reference in New Issue