mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
fix CID #404863 printing
This commit is contained in:
parent
dd7c9daa8d
commit
02a801f665
2 changed files with 3 additions and 5 deletions
|
@ -139,10 +139,9 @@ static void print_time(uint64_t at) {
|
||||||
(void)localtime_r(&t, <);
|
(void)localtime_r(&t, <);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char res[32];
|
char res[70];
|
||||||
strftime(res, sizeof(res), "%Y-%m-%d %H:%M:%S", <);
|
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||||
|
printf("%s\n", res);
|
||||||
printf("%u ( '%s' )\n", (unsigned)t, res);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *brute_thread(void *arguments) {
|
static void *brute_thread(void *arguments) {
|
||||||
|
|
|
@ -171,7 +171,6 @@ static void print_time(uint64_t at) {
|
||||||
|
|
||||||
char res[70];
|
char res[70];
|
||||||
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||||
|
|
||||||
printf("%s\n", res);
|
printf("%s\n", res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue