mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
should fix time_t printing issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user