mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
should fix time_t printing issues
This commit is contained in:
parent
d516c36ad9
commit
9a2e07e1a8
1 changed files with 3 additions and 3 deletions
|
@ -169,10 +169,10 @@ static void print_time(uint64_t at) {
|
|||
(void)localtime_r(&t, <);
|
||||
#endif
|
||||
|
||||
char res[32];
|
||||
strftime(res, sizeof(res), "%Y-%m-%d %H:%M:%S", <);
|
||||
char res[70];
|
||||
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||
|
||||
printf("%"PRIu64" ( '%s' )\n", t, res);
|
||||
printf("%s\n", res);
|
||||
}
|
||||
|
||||
static void *brute_thread(void *arguments) {
|
||||
|
|
Loading…
Reference in a new issue